ggrefa.blogg.se

Geektool output not lining up
Geektool output not lining up












geektool output not lining up

# set the ssh client, and force it to accept new/unknown host keys.

geektool output not lining up

# retrieve your ssh credential from your keychain.Ĭredential = keyring.get_password('example_keychain', 'user') (Easiest way to do this is with easy_install or pip.) Paramiko is a python ssh client, and keyring allows python programs to interact with the built-in keychain of your OS.

geektool output not lining up

For this script to work, you need the paramiko and keyring python libraries installed. I did this with a simple python script that is called by GeekTool on a regular schedule.

#Geektool output not lining up free

In order to show memory usage, you just need a script to ssh to your server, run a quick shell script to check free -m, and then return the results as standard output. I use it to monitor my server’s memory load, and also to show my todo list using Todo.txt, a lightweight CLI todo list manager: GeekTool is a nifty little program that allows one to run shell scripts and have the output display on your OSX desktop. Once I figured out the minimum ram I could get away with on my setup (turned out to be 600MB), I wanted to keep track of memory usage at a glance without having to ssh from the terminal.Įnter GeekTool. In the process of moving everything onto the virtual machine, and nailing down my resource needs, I spent a lot of time on a secure shell monitoring the server with top for memory spikes. I use a multisite wordpress installation to manage all of my courses, and a number of other virtual presences, hosted on a VPS at dreamhost.














Geektool output not lining up