Advertisement
Guest User

GeekTool Setup

a guest
Aug 14th, 2014
561
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.03 KB | None | 0 0
  1. GeekTool setup
  2.  
  3. Date & Time
  4.     Date is displayed using command: date +%D
  5.     Time is displayed using command: date +%H:%M
  6.         The time shown is wrong in the screenshot, as I forgot to change the refresh rate for the command from 0.
  7.  
  8. System Information 
  9.     Wired memory command: echo `top -l 1 | awk '/PhysMem/ {print $4}' | sed s/\(//`B Wired
  10.  
  11.     Hard disk command: df -hl | grep 'disk0s2' | awk '{print $4"/"$2" free ("$5" used)"}'
  12.         (change disk0s2 depending on your drive and partition layout, etc.)
  13.  
  14.     Exhaust (fan) command: echo `~/GeekTool/scripts/fans_tempsMonitor | grep "Exhaust" | sed s/Exhaust// | sed s/rpm//`
  15.  
  16.     Temperature command: echo `/Applications/TemperatureMonitor.app/Contents/MacOS/tempmonitor -c -l -a | grep "AMBIENT"| sed s/SMC\ AMBIENT\ AIR:\ // | sed s/\ C// `°C
  17.         You must have installed TemperatureMonitor for this to work.
  18.    
  19. Music
  20.     Used AppleScripts from http://www.maclife.com/article/howtos/how_customize_your_desktop_geektool?page=0,1
  21.  
  22. Top CPU Processes
  23.     ps -arcwwwxo "command %cpu" | grep -v grep | head -3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement