What I use GeekTool for:

Swap space: sysctl vm.swapusage | awk ‘{printf “%d/%d (%d)n”, $7, $4, $10}’

Top 4 memory hoggers: top -l1 -o rsize -n4 -U [my username] | awk ‘NR==9,NR==12 {printf “%3d %sn”, $8, $2}’

Bluetooth status (needs blueutil, http://www.frederikseiffert.de/blueutil/): /usr/local/bin/blueutil status | awk ‘{print “BT: ” $2}’

Mounted local drives: df -H -l

Load averages: sysctl vm.loadavg | sed s/’^vm.loadavg: ‘//

via GeekTool – i use this on mac os x.

Annunci