Thursday, December 20, 2012

Linux Performance Tools To Troubleshoot Problems.

Find your bottlenecks.

What tools or commands are recommended to troubleshoot performance related problems?
Sometimes you need to check HW bottlenecks. the easiest is to use "top" and "iostat" or "dstat"
If you have the time to Setup a "Munin" Server. This is perfect. It will help you analyze Performance and also bottlenecks with nice to view graphs.

basic or essential tools that every Linux or UNIX System Admin should be aware of:


Command Line Tools
top
htop
sar
dstat
vmstat
iostat
free




Web Tools
Munin http://munin-monitoring.org/
Cacti http://www.cacti.net/


Here are some examples

Top - Command
top provides a real time view of a running system.















Sar - Command

sar Collect, report, or save system activity information. It can generate report and email them to sys admin.
CPU and Queue
Disk I/O
Swap and Memory
CPU interrupts, Networking and more...














Iostat - Command
iostat Device Utilization Report and more...














No comments: