Skip to content

Instantly share code, notes, and snippets.

@jasonjohnson
Created December 18, 2013 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonjohnson/8025769 to your computer and use it in GitHub Desktop.
Save jasonjohnson/8025769 to your computer and use it in GitHub Desktop.
#!/bin/bash
while true; do
let now=`date +%s`
let val=`shuf -i 70-85 -n 1`
echo "put my.cpu.load $now $val host=blick" | nc -w 30 localhost 4242
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment