top
使用标志隐藏所有空闲进程-i
。来自:man
top
PERFORMANCE/ACCURACY TRADEOFF
Calculating detailed memory statistics is fundamentally resource-intensive.
To reduce the CPU usage in top, the -i option has been introduced to
allow the user to tune this tradeoff. With the default value of 10,
framework stats will be updated once every 10 samples. Specifying -i 1 will
result in the most accurate display, at the expense of system resources.
[问] 是否可以应用类似的方法htop
?