shell top

top -bn1 它表示非动态打印系统资源使用情况,即一次性全部把所有信息输出出来而非动态显示,可以用在shell脚本中

posted @ 2019-08-27 17:30  agang_19  阅读(169)  评论(0编辑  收藏  举报