Skip to content

Instantly share code, notes, and snippets.

View wblondel's full-sized avatar
🏠
Working from home

William Gérald Blondel wblondel

🏠
Working from home
View GitHub Profile
@wblondel
wblondel / graph.sh
Last active September 18, 2019 14:31 — forked from nicolasazrak/README.md
Graph process memory
#!/bin/sh
# https://stackoverflow.com/questions/7998302/graphing-a-processs-memory-usage
# Usage ./graph.sh <pid>
# It requires having gnuplot installed
# trap ctrl-c and call ctrl_c()
trap ctrl_c INT
LOG=$(mktemp)
// Node.js CheatSheet.
// Download the Node.js source code or a pre-built installer for your platform, and start developing today.
// Download: http://nodejs.org/download/
// More: http://nodejs.org/api/all.html
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html