从top 联机帮助页:
Run Code Online (Sandbox Code Playgroud)-n : Number of iterations limit as: -n number Specifies the maximum number of iterations, or frames, top should produce before ending.
所以只需运行:
top -n 1
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
216 次 |
| 最近记录: |