1. 04 Dec, 2017 1 commit
    • 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
  2. 27 Jul, 2017 1 commit
  3. 05 Jul, 2017 1 commit
  4. 04 Feb, 2017 1 commit
  5. 31 Jan, 2017 1 commit
  6. 01 Oct, 2016 1 commit
  7. 20 Feb, 2016 1 commit
  8. 14 Feb, 2016 1 commit
    • Hisham's avatar
      Disable the syscall on systems that don't have it. · 35657208
      Hisham authored
      Got a report in #397 that htop runs in NetBSD
      masquerading as Linux and using a compatibility /proc
      (like we used to in FreeBSD) and that it builds fine
      apart from this syscall.
      35657208
  9. 02 Feb, 2016 1 commit
  10. 07 Sep, 2015 1 commit
    • Christian Hesse's avatar
      fix calloc() calls · e8970b6f
      Christian Hesse authored
      * size_t nmemb (number of elements) first, then size_t size
      * do not assume char is size 1 but use sizeof()
      * allocate for char, not pointer to char (found by Michael McConville,
        fixes #261)
      e8970b6f
  11. 20 Aug, 2015 1 commit
  12. 23 Jul, 2015 1 commit
  13. 09 Apr, 2015 1 commit
  14. 01 Apr, 2015 1 commit
  15. 17 Mar, 2015 1 commit
  16. 16 Mar, 2015 2 commits
  17. 15 Mar, 2015 1 commit
  18. 08 Mar, 2015 2 commits
  19. 23 Feb, 2015 2 commits
  20. 20 Feb, 2015 1 commit
  21. 22 Jan, 2015 1 commit
  22. 24 Nov, 2014 2 commits