Linux 采集CPU真实使用率

top -b -n1 | head | grep '^%Cpu' | awk '{print (100-$8-$6)}'

  

posted @ 2022-08-05 14:18  LB_运维技术  阅读(58)  评论(0编辑  收藏  举报