Skip to content

Instantly share code, notes, and snippets.

@sbose78
Last active August 29, 2015 14:26
Show Gist options
  • Save sbose78/4be0a77fd7e950dec3a6 to your computer and use it in GitHub Desktop.
Save sbose78/4be0a77fd7e950dec3a6 to your computer and use it in GitHub Desktop.
#!/bin/bash
#while [ true ]
#do
d=`date +%s`
v=`shuf -i 1-100 -n 1`
echo "jmx.test.cpu $d $v appname=app2"
sleep 1s
#done
# Note
# created this as bose/1/test.sh
# added host and dir info in scollector.toml
# ./scollector -l listed bose/1/test.sh as one of the collectors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment