diff options
author | André Carvalho <asantostc@gmail.com> | 2017-12-04 00:15:29 -0200 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2017-12-04 00:15:29 -0200 |
commit | b7b66b76a5f01ac570d537d27a7e156af248d6f4 (patch) | |
tree | 66f8094a5fc284eb135538020b78b6287dc0df52 /htop.1.in | |
parent | 52831955c759ecfa5d5f527bdf54f20545fdbcff (diff) |
Adds support for linux delay accounting (#667)
Adds support for showing columns with linux delay accounting.
This information can be read from the netlink interface, and thus we set up a socket to read from that when initializing the LinuxProcessList (LinuxProcessList_initNetlinkSocket). After that, for each process we call LinuxProcessList_readDelayAcctData, which sends a message thru the socket after setting up a callback to get the answer from the Kernel. That callback sets the process total delay time attribute. We then set the delay percent as the percentage of time process cpu time since last scan.
Diffstat (limited to 'htop.1.in')
-rw-r--r-- | htop.1.in | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -370,6 +370,15 @@ The I/O scheduling class followed by the priority if the class supports it: \fBB\fR for Best-effort \fBid\fR for Idle .TP +.B PERCENT_CPU_DELAY (CPUD%) +The percentage of time spent waiting for a CPU (while runnable). Requires CAP_NET_ADMIN. +.TP +.B PERCENT_IO_DELAY (IOD%) +The percentage of time spent waiting for the completion of synchronous block I/O. Requires CAP_NET_ADMIN. +.TP +.B PERCENT_SWAP_DELAY (SWAPD%) +The percentage of time spent swapping in pages. Requires CAP_NET_ADMIN. +.TP .B All other flags Currently unsupported (always displays '-'). |