User Tools

Site Tools


linux:ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:ubuntu [2024/04/14 15:03] – [Dig] skipidarlinux:ubuntu [2024/05/15 05:10] (current) – [Performance Monitoring commands] skipidar
Line 187: Line 187:
 </VirtualHost> </VirtualHost>
 </code> </code>
 +
 +
 +==== Performance Monitoring commands ====
 +
 +{{https://s3.eu-central-1.amazonaws.com/alf-digital-wiki-pics/sharex/c12ezuvdZY.png}}
 +
 +how to diagnose a mysterious process that’s taking too much CPU, memory, IO, etc? 
 + 
 +The diagram below illustrates helpful tools in a Linux system. 
 +
 +<sxh shell>
 +vmstat # reports information about processes, memory, paging, block IO, traps, and CPU activity. 
 +iostat # reports CPU and input/output statistics of the system. 
 +netstat # displays statistical data related to IP, TCP, UDP, and ICMP protocols. 
 +lsof # lists open files of the current system. 
 +pidstat # monitors the utilization of system resources by all or specified processes, including CPU, memory, device IO, task switching, threads, etc. 
 +</sxh>
 + 
 +
 + 
 +Credit: Diagram by Brendan Gregg 
  
  
linux/ubuntu.1713107024.txt.gz · Last modified: by skipidar