dstat
也可以用于那个。
dstat -tif 60
Run Code Online (Sandbox Code Playgroud)
列出所有中断(那些超过 10 in 的/proc/stat
)
dstat -tf --int24 60
Run Code Online (Sandbox Code Playgroud)
相同但使用/proc/interrupts
,因此包括诸如LOC
, PMI
, RES
...
您还可以选择所需的列表:
$ dstat -t --int24 -I23,LOC,RES 5
----system---- ----interrupts---
time | 23 LOC RES
21-12 16:30:23| 2 489 52
21-12 16:30:28| 30 593 6
21-12 16:30:30| 37 929 7
Run Code Online (Sandbox Code Playgroud)
另请参阅--top-int
跟踪最活跃的中断:
$ dstat -t --top-int
----system---- ---most-frequent----
time | interrupt
21-12 16:33:21|5242880-edge enp10s0 56
21-12 16:33:22|5242880-edge enp10s0 68
21-12 16:33:23|5242880-edge enp10s0 4
21-12 16:33:24|5242880-edge enp10s0 3
21-12 16:33:25|5242880-edge enp10s0 61
21-12 16:33:26|5242880-edge enp10s0 11
21-12 16:33:27|512000-edge ahci[0000:00:1f.2] 5
21-12 16:33:28|5242880-edge enp10s0 52
21-12 16:33:29|5242880-edge enp10s0 20
21-12 16:33:30|32768-edge i915 57
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
14217 次 |
最近记录: |