Run vmstat, iostat, <any>stat remotely and chart it on your browser.
Runs *stat command - possibly remotely - and opens a browser with charts for the metrics (made with rickshaw/d3). Charts are updated realtime via socket.io.
Supports vm_stat and iostat on mac, vmstat on linux and other tools via simple json config file.
open our application
You'll be looking at the output for a pre-recorded vmstat session on a mac.
For now, the code should not be visible to judges, so, it wont be possible to follow the instructions below.
The submitted application is a command line tool. If you could launch it on your machine, here are some of the commands you could use:
Watch a local vmstat collecting samples every 1 s
node server.js vmstat 1
Watch a local iostat collecting samples every 1 s
node server.js iostat 1
Watch a remove vmstat collecting samples every 3 s
node server.js --via "ssh email@example.com" vmstat 3
Watch an unknown tool configured with a user specified config file, don't open a new browser
node server.js --no-open --json config-samples/mac-vmstat.json vmstat 1
git clone firstname.lastname@example.org:nko4/bazinga.git && cd ./bazinga/ npm install node_modules/.bin/bower install
To run locally, mac or linux:
node server.js vmstat
To run remotely:
node server.js -via "ssh email@example.com" vmstat
Libraries: Restify Socket.IO angular.js Rickshaw / D3 Lodash Handlebars * optimist
angular, lodash and handlebars were only used to speed up development, probably not used at all for a final product.
CSS Toolkit: Ink (Includes Font Awesome)
Voting is now closed.
Thank you for the feedback!
The results play back is already a planned feature to be added when the competition ends. The visual alerts are definitely an interesting feature worth of adding as well :)
Thank you for the feedback! We're glad you liked it :)
We'll be releasing this polished after the competition ends.
Hi, why couldn't you clone it ? Permission problems ? Any Github issue ?
this is the repo that the instructions are telling me to clone https://github.com/nko4/bazinga 404
Can you try "git clone firstname.lastname@example.org:nko4/bazinga.git" ? https isn't working for me either. Should it be open/public ?
Hi @CWMma, as it turns out, you are not supposed to be able to view the source code. The instructions have been updated.