Skip to content

Instantly share code, notes, and snippets.

@bageljp
Created February 18, 2013 09:59
Show Gist options
  • Save bageljp/4976328 to your computer and use it in GitHub Desktop.
Save bageljp/4976328 to your computer and use it in GitHub Desktop.
benchmark utils
while : ;do date; vmstat 2 30; echo -e "------------------------------------------------------\n\n"; done
while : ;do date; mpstat -P ALL 2 30; echo -e "------------------------------------------------------\n\n"; done
while : ;do date; free; sleep 10; echo -e "------------------------------------------------------\n\n"; done
while : ;do date; top -b -n 1 | head -20; sleep 2; echo -e "------------------------------------------------------\n\n"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment