Both sides previous revision Previous revision Next revision | Previous revision |
linuxperf [2024/11/30 09:42] – [CPU] dani | linuxperf [2024/11/30 12:27] (current) – [Get on Top of it] admin |
---|
Linux's top command provides a wealth of troubleshooting information, but you have to know what you're looking for. Reference this diagram as you go through the steps below: | Linux's top command provides a wealth of troubleshooting information, but you have to know what you're looking for. Reference this diagram as you go through the steps below: |
| |
{{:images:top.png?direct&400|Top output}} | {{:images:top.png?direct&600|Top output}} |
| |
==== Step 1: Check I/O wait and CPU idletime ==== | ==== Step 1: Check I/O wait and CPU idletime ==== |
Low swap means you have a "real" IO wait problem. The next step is to see what's hogging your IO. | Low swap means you have a "real" IO wait problem. The next step is to see what's hogging your IO. |
| |
{{:images:iotop.png?direct&400|}} | {{:images:iotop.png?direct&600|}} |
| |
''%%iotop%%'' is an awesome tool for identifying io offenders. | ''%%iotop%%'' is an awesome tool for identifying io offenders. |
==== CPU ==== | ==== CPU ==== |
| |
{{:images:cpuusage.png?direct&400|Icinga CPU usage}} | {{:images:cpuusage.png?direct&600|Icinga CPU usage}} |
| |
{{:images:iowaits.png?direct&400|Icinga I/O waits}} | {{:images:iowaits.png?direct&600|Icinga I/O waits}} |
| |
{{:images:blockedpocesses.png?direct&400|Icinga blocked processes}} | {{:images:blockedpocesses.png?direct&600|Icinga blocked processes}} |
| |
==== Network ==== | ==== Network ==== |
| |
{{:images/netusage.png| Icinga network usage}} | {{:images:netusage.png?direct&600| Icinga network usage}} |
| |
| |