1. 16 Mar, 2018 4 commits
  2. 02 Mar, 2018 1 commit
    • gmbroome's avatar
      Import Solaris support (#741) · 697f5bb9
      gmbroome authored
      This commit adds support for Solaris, squashed from PR #741:
      
      Summary of additions:
      
      * Initial setup of Solaris platform directory
      * Add Solaris platform into autoconf template
      * Uptime and load averages
      * Add dependency on libkstat
      * Basic process listing
      * Zone name display
      * CPU detection
      * Per-process memory and CPU usage parsed correctly
      * Uses sysconf to discover number of CPUs, instead of more complex libkstat code
      * Simple memory display working
      * Reduce repetitive calls to the PAGE_SIZE macro when reading memory info
      * Add Project, Contract, Task, and Pool into process properties
      * Use system major()/minor() implementations and remove extraneous definition of mkdev()
      * Get the STARTTIME column working properly, using the Linux implementation as a guide
      697f5bb9
  3. 26 Feb, 2018 7 commits
  4. 19 Feb, 2018 1 commit
  5. 18 Feb, 2018 6 commits
  6. 17 Feb, 2018 6 commits
  7. 13 Feb, 2018 1 commit
  8. 05 Feb, 2018 4 commits
  9. 04 Feb, 2018 7 commits
  10. 23 Jan, 2018 1 commit
    • Lucas C. Villa Real's avatar
      htop scans /proc to determine how many running tasks exist. Since that · ad991876
      Lucas C. Villa Real authored
      operation is not possible to be conducted in an atomic fashion, task
      scheduling effects can lead to a count greater than the number of actual
      processors; this is more easily noticed on machines with several CPUs
      and under heavy workload.
      This patch simply adds an upper bound on cpuCount to guarantee
      consistent reports of the number of running tasks at any given time.
      ad991876
  11. 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
  12. 23 Oct, 2017 1 commit
    • Christian Hesse's avatar
      fix fallthough comments for GCC 7.x · 52831955
      Christian Hesse authored
      GCC 7.x does some extended checks on fallthough for switch/case
      statement. The warning looks like this:
      
      warning: this statement may fall through [-Wimplicit-fallthrough=]
      
      It can be told about implicit fallthough, however it does not
      recognize comments within blocks, so move the comments outside.
      52831955