Skip to content

Instantly share code, notes, and snippets.

@matschaffer
Created August 29, 2010 21:33
Show Gist options
  • Save matschaffer/556711 to your computer and use it in GitHub Desktop.
Save matschaffer/556711 to your computer and use it in GitHub Desktop.
#!/bin/bash
while true; do
curl -d value=`uptime | cut -d':' -f3 | cut -d, -f1 | awk '{print $1}'` http://awesometown.no.de/graphs/4c7acd5ca121636840000002/appendValue
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment