Linux kernel performance and reliability monitoring and tuning
Summary
I created this section as a compendium of my collected knowledge of Linux performance monitoring and tuning. I am not an expert but I decided to collect these together with original references or citations when possible for non-original work. I started this in my private wikis because I grew tired of searching all the articles everytime a new subject would come up. There are hundreds of thousands of articles out there on topics related to Linux performance. I then decided to make my notes public to benefit others. So this collection is an outreach of that and will take time to migrate over from my private archives. In some cases original attribution is now lost however if you see something here I have referenced that you would like to take credit for please contact me by email at.
See also my pages on Web or server connection troubleshooting and Network troubleshooting.
Linux performance analysis
Credit for above to Brendan Gregg. http://www.brendangregg.com/linuxperf.html
Commands to monitor resources overall
- top
- dstat - http://dag.wiee.rs/home-made/dstat/
- nmon - http://nmon.sourceforge.net/
- htop - http://hisham.hm/htop/
- Collectl - http://collectl.sourceforge.net/
- Glances - https://nicolargo.github.io/glances/
- saidar - See also http://www.binarytides.com/saidar-linux-system-monitor/
- atop - http://www.atoptool.nl/
- iftop - http://www.ex-parrot.com/pdw/iftop/
CPU
Linux CPU Monitoring and Tuning
Memory and swap
Linux Memory and swap Monitoring and Tuning
Network
Linux Network Monitoring and Tuning
nload - http://www.roland-riegel.de/nload/ and http://www.cyberciti.biz/networking/nload-linux-command-to-monitor-network-traffic-bandwidth-usage/
nmon - http://nmon.sourceforge.net/pmwiki.php
mtr - http://www.bitwizard.nl/mtr/
Socket Stats - ss command. http://www.cyberciti.biz/tips/linux-investigate-sockets-network-connections.html
Good articles and notes
http://www.brendangregg.com/blog/2015-02-27/linux-profiling-at-netflix.html