linux 获取cpu百分比

vmstat 1 |head -n 4 |tail -n 1 |awk '{print $13}'

原文地址:https://www.cnblogs.com/rongkang/p/4418784.html