Aix command: List the top processes using memory and CPU

(1) Display 10 processes that consume the most CPU

# ps aux |head -1 ;ps aux |sort -rn +2 |head -10

(2) Display the 10 processes that consume the most memory

#ps vx |head -1 ;ps vx |grep -v PID |sort -rn +6 |head -10

(3) Display the 10 processes with the most page feeds

#ps vx |head -1 ;ps vx |grep -v PID |sort -rn +4 |head -10

(4) Display 10 processes that consume the most storage space

#ps aux |head -1 ;ps aux |sort -rn +3 |head -10


Linux to view the approximate information of memory CPU experiment top, AIX uses topas

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324654214&siteId=291194637