(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