跳至主要內容

cpu

chanchaw小于 1 分钟linuxcentos

查看CPU型号

lscpu

CPU占用前10

# 第一种方式
ps aux | head -1;ps aux |grep -v PID |sort -rn -k +3 | head -10
# 第二种方式
ps aux --sort -pcpu | head -n 10