shell,查看cpu及内存占用 2016年02月04日 标签:Linux, Shell Tips top -b -n 1 |grep nginx|awk '{print "cpu:"$9"%","mem:"$10"%"}'