Created
August 23, 2015 20:34
-
-
Save amuraru/b68345405a1ed9152b6c to your computer and use it in GitHub Desktop.
pt-diskstats-to-csv.sh
This file contains 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
perl /tmp/a.pl --headers=group --interval 15 --iterations=1 --devices sd.$ | grep -v '^ #ts device'|grep -v ^$|sed 's/^ *//g'|sed 's/ */,/g'|tr -d '%' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment