1. 23 May, 2018 1 commit
  2. 25 Mar, 2018 1 commit
  3. 04 Feb, 2018 1 commit
    • Vladimir Panteleev's avatar
      Add support for Linux TASK_IDLE · 87be623e
      Vladimir Panteleev authored
      Linux commit 06eb61844d841d0032a9950ce7f8e783ee49c0d0 ("sched/debug:
      Add explicit TASK_IDLE printing") exposes kthreads idling using
      TASK_IDLE in procfs as "I (idle)".
      
      Until now, when sorting the STATE ("S") column, htop used the raw
      value of the state character for comparison, however that led to the
      undesirable effect of TASK_IDLE ('I') tasks being sorted above tasks
      that were running ('R').
      
      Thus, explicitly recognize the idle process state, and sort it below
      others.
      87be623e
  4. 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
  5. 27 Jul, 2017 1 commit
  6. 05 Jul, 2017 1 commit
  7. 04 Feb, 2017 1 commit
  8. 31 Jan, 2017 1 commit
  9. 01 Oct, 2016 1 commit
  10. 20 Feb, 2016 1 commit
  11. 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
  12. 02 Feb, 2016 1 commit
  13. 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
  14. 20 Aug, 2015 1 commit
  15. 23 Jul, 2015 1 commit
  16. 09 Apr, 2015 1 commit
  17. 01 Apr, 2015 1 commit
  18. 17 Mar, 2015 1 commit
  19. 16 Mar, 2015 2 commits
  20. 15 Mar, 2015 1 commit
  21. 08 Mar, 2015 2 commits
  22. 23 Feb, 2015 2 commits
  23. 20 Feb, 2015 1 commit
  24. 22 Jan, 2015 1 commit
  25. 24 Nov, 2014 2 commits