This is a Processing.js experiment. It visualises the Process table on your UNIX (tested on OSX and Linux) computer.
Simply fire up the Sinatra app, and point your modern browser (no IE please) and watch the process balls fly around the screen.
The bigger the ball, the more memory it takes. The higher the ball, the more CPU time it is taking.
See a bad quality video of it here
Make it work on another server
Setup SSH certificates so the sinatra app can login to the remote server, then change line 16 to something like:
ps = `ssh [user@hostname] 'ps aux'`
- Make the code more efficient
- Automatically adjust for screen sizes - it's all very hard-coded for 640x480 at the moment