Skip to content

Instantly share code, notes, and snippets.

@jvoorhis
Created August 21, 2012 20:37
Show Gist options
  • Save jvoorhis/3419239 to your computer and use it in GitHub Desktop.
Save jvoorhis/3419239 to your computer and use it in GitHub Desktop.
~/Projects/mote % cat misc/mote.yml
sensors:
- Mem
- Load
- Disk
outputs:
- Stdout
~/Projects/mote % ./bin/mote -c misc/mote.yml
{"timestamp":"2012-08-21 13:37:13 -0700","sensor":"mem","values":{"total":8589934592,"used":8567566336,"free":22368256}}
{"timestamp":"2012-08-21 13:37:13 -0700","sensor":"load","values":{"1 minute":2.9609375,"5 minutes":2.23828125,"15 minutes":2.005859375}}
{"timestamp":"2012-08-21 13:37:13 -0700","sensor":"disk","values":[{"dev":"/dev/disk1","dir":"/","total":123867548,"used":68077164,"avail":55534384,"pct":56.00000000000001},{"dev":"devfs","dir":"/dev","total":209,"used":209,"avail":0,"pct":0.0}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment