Skip to content

Instantly share code, notes, and snippets.

@scr512
Created February 27, 2016 06:09
Show Gist options
  • Save scr512/656dcbecf54713c70d61 to your computer and use it in GitHub Desktop.
Save scr512/656dcbecf54713c70d61 to your computer and use it in GitHub Desktop.
Generate heat output and look for obvious bad behavior (Workflows trying to write to a single file from many nodes or areas of hot namespace writes)
isi statistics heat --class write,namespace_write --orderby class >> /ifs/admin/scripts/stat/stats/heat_`date +"%d-%m-%y_%H-%M"`.txt
awk '{print $4,$5}' /ifs/admin/scripts/stat/stats/heat_`date +"%d-%m-%y_%H"`-*.txt | sort | uniq -c | sort -k 1 | less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment