Created
February 7, 2014 23:16
-
-
Save warmans/8873919 to your computer and use it in GitHub Desktop.
Generate KairosDB activity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Current time in milliseconds | |
metric=load_value_test | |
host=127.0.0.1 | |
for i in {1..10000} | |
do | |
now=$(($(date +%s%N)/1000000)) | |
echo "put $metric $now $i name=A" | nc -w 30 $host 4242 | |
echo "OK" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment