• André Carvalho's avatar
    Adds support for linux delay accounting (#667) · b7b66b76
    André Carvalho authored
    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.
    b7b66b76
LinuxProcessList.c 32.6 KB