Skip to content

Instantly share code, notes, and snippets.

@hit0ri
Last active October 11, 2018 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hit0ri/1f71a5102916300150847120d3ac0ba9 to your computer and use it in GitHub Desktop.
Save hit0ri/1f71a5102916300150847120d3ac0ba9 to your computer and use it in GitHub Desktop.
performance analysis in 60s

Host perf analysis in 60s

https://youtu.be/89fYOo1V2pA?t=2543

  1. load averages: w or uptime
  2. kernel errors: dmesg -xTL | tail
  3. overall stats by time: vmstat 1
  4. CPU balance: mpstat -P ALL 1
  5. process usage: pidstat 1
  6. disk I/O: iostat -xz 1
  7. memory usage: free -m
  8. network I/O: sar -n DEV 1
  9. TCP stats: sar -n TCP,ETCP 1
  10. check overview: top
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment