Mar 3

dstat is a general-purpose system profiling tool.
Read More



Feb 27

cpulimit - limits the cpu usage of a process Read More



Feb 17

# ps -auxf | sort -nr -k 3 | head -10



Feb 17

# ps -auxf | sort -nr -k 4 | head -10



Dec 10

Sometimes it’s not clear what shell you get when logging in on one of your obscure servers ;-).
Here’s how to get your shell name:

ps -p $$



Dec 5

Most of the time u will probably use bc with floating point calculations. Here’s an alternative in case bc is not available:
$ echo 3 | awk ‘{print 0.25*$1}
0.75
$



Nov 6

Everybody knows how to concatenate multiple files. However sometimes you’ll want to concatenate multiple files horizontally, meaning line 1 from file 1 with line 1 from file 2 etc.
Read More



Aug 8

Ever got this message from your bash shell when removing lots of files?
Read More