Command Line Tools
jq
Pretty print
sh
echo '{"foo": "lorem", "bar": "ipsum"}' | jqsh
jq . file.jsonCompact output
sh
jq -c . file.jsonCheck which process takes too much memory / CPU
bash
# Sort by Memory Usage, avoiding grep process itself
ps aux | grep '[C]ode' | sort -rk 4,4bash
# Sort by CPU Usage, avoiding grep process itself
ps aux | grep '[C]ode' | sort -rk 3,3grep '[C]ode' can be replaced with any other process name