My first serious attempt for a Geektool desktop. Near all of them are found here, I just tried to customize to my liking and knowledge so I will just comment what I did. Thanks to all the people who create them for first time.
System Info, go by two calls to the system_profller and a temporary file for grep use.
Current and Next month, just put sunday at end of week and mark the current day.
Uptime, have not modified yet.
Internal external IP not touched.
Last backup This is mine. As I don’t have the time machine disk connected all time i used a temporary file to save the last backup date. I put the file in /Users/genimac/Documents/Geeklets/offlinecopy, you can change the file name or path.
Doing TimeMachine backup You need the ARC font for this to work.
IPs in network In my work I keep an eye on some network disks and server. I installed “fing” from Overlook http://www.overlooksoft.com/download The only “problem”, not for me, is that it need root access. I send my password by an echo on the script. If you are ok with that, just change the “adminpass” with your current one. Can the password be send encrypted? I adjusted it to 30 IP in 3 columns as that fits my network, you need to modify the code for more.
Network totals for that to work you need “vnstat” installed, it can be compiled directly or you can use “brew” to install. The later is more easy so go to http://brew.sh and follow the instructions, mainly ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew doctor brew update
then install vnstat with brew install vnstat and follow the instructions to create the database vnstat -u -i en0 For my MacbookProo retina en0 is the wifi board. You can use “vnstat --iflist” for the list on your computer. Once all that done in a few minutes (5 or so) you will have data to display.
Top RAM and CPU processes I modified the ruby scripts from http://brettterpstra.com to bash.