Disk and Memory Usage Scripts
At times I like to check my levels of disk and memory usage and it’s more convenient for me to do it from the command line. So, I created a couple scripts for them:
devtop Filesystem Size Used Avail Use% Mounted on /dev/sda5 9.8G 6.4G 2.9G 69% / /dev/sda6 166G 38G 121G 24% /home
memtop PROGRAM %MEM #MEM firefox 10.2 352.98 MB gnome-shell 4.1 141.76 MB Xorg 1.5 53.60 MB nautilus 1.2 41.52 MB gedit 1.1 40.59 MB gnome-settings- 0.7 26.23 MB gnome-terminal 0.6 22.31 MB nm-applet 0.6 21.30 MB python2 0.6 20.89 MB
Saves me a lot of time over having to open a program :).