Geeklets make it easy to use GeekTool without needing complicated commands or scripts. GeekTool is a software for Mac OS X that lets you display on your desktop all kinds of informations using log files, shell scripts. One of the most powerful Geeklets! All you need is a script to get the information, then you can display it on your desktop. GeekTool will execute the script and display the output the way you want it.
README.md GeekTool Scripts A collection of scripts I wrote for use with Geektool on my Macs. About GeekTool is an application for Mac OS 10.6+. It lets you display various kinds of information on your desktop. You can get GeekTool for your Mac from the or at the [GeekTool Project webpage] ().
Files Resource graphs The below flies are graphs that monitor your CPU, Memory and Storage utilization. [cpuScale.sh] () Generates a stacked graph for CPU usage using mostly top and awk.
Options include setting a console color for highlighting utilization bars; number of lines (or other characters) to be displayed - creating longer or shorter graphs; and character to use for each line. This script is best run in GeekTool with the following command and arguments:. /path/to/cpuScale.sh [hls][arguments] -h Highlight color. The color of the divisor symbols that indicate percent full. Options are LBLUE, DBLUE, BLACK, GREEN, RED, YELLOW, WHITE. Default is RED.
-l Total number of divisor symbols. Default is 40. -s The string to use as a divisor symbol. The default is a '__'. (As you might expect, you must surround the string in quotes) [memScale.sh] () Generates a stacked graph for Memory usage using mostly top and awk. Options include setting a console color for highlighting utilization bars; number of lines (or other characters) to be displayed - creating longer or shorter graphs; and character to use for each line.
This script is best run in GeekTool with the following command and arguments:. /path/to/memScale.sh [hls][arguments] -h Highlight color.
The color of the divisor symbols that indicate percent full. Options are LBLUE, DBLUE, BLACK, GREEN, RED, YELLOW, WHITE. Default is RED. -l Total number of divisor symbols. Default is 40.
-s The string to use as a divisor symbol. The default is a '__'.
(As you might expect, you must surround the string in quotes) Generates a stacked graph for Hard Drive usage using mostly df and awk. Options include setting a console color for highlighting utilization bars; number of lines (or other characters) to be displayed - creating longer or shorter graphs; character to use for each line; mount path to report on; and alias for chart. This script is best run in GeekTool with the following command and arguments:. /path/to/storage.sh [hls][arguments] -h Highlight color. The color of the pipe line that indicates percent full. Options are LBLUE, DBLUE, BLACK, GREEN, RED, YELLOW, WHITE. Default is RED.
-l Total number of divisor symbols. Default is 40. -s The string to use as a divisor symbol. Pathloss 4.0 Full on this page. The default is a '__'.
(As you might expect, you must surround the string in quotes) -m Mount location. The default is '/', the home directory. Remember to quote any directory that contains spaces. (Example -m '/Volumes/Time Machine Backups') -n Name of device. This is an alias used to visually identify this device. The default is 'HD'.
If you use multile instantiations of this script you may want to identify each device by a short identifier. It looks best, at the moment, if you use two characters such as 'HD' or 'TM' (for Time Machine). Other Console Color Scripts Below is a local temperature (as in weather) script and yet another calendar script. Brought to you in console color. Generates a vertical number line with the high and low for the day and current temperature highlighted.