1. 06 Apr, 2018 5 commits
    • Guy M. Broome's avatar
      3f7622a3
    • Guy M. Broome's avatar
    • wangqr's avatar
      Use fork/exec instead of popen to run lsof (#757) · 6c2b3b54
      wangqr authored
      Fixes #675
      6c2b3b54
    • Kang-Che Sung (宋岡哲)'s avatar
      Use AM_CFLAGS and AM_LDFLAGS in Makefile.am (#760) · f48f5a10
      Kang-Che Sung (宋岡哲) authored
      
      
      This reduces generated Makefile.in size by 74%.
      (217319 bytes -> 56326 bytes)
      
      Automake considers that <prog>_CFLAGS and <prog>_LDFLAGS are
      program-specific build rules, and when such are specified, Automake
      will generate additional code just to avoid the "generic" and
      package-wide AM_CFLAGS or AM_LDFLAGS. (Especially for <prog>_CFLAGS,
      Automake will rename generated object files to become "prog-foo.o" and
      such, and it's _a lot_ of code to achieve this in Makefile.)
      
      There's no reason for htop to rename intermediate object files. It's
      better to make things simpler.
      Signed-off-by: default avatarKang-Che Sung <explorer09@gmail.com>
      f48f5a10
    • gmbroome's avatar
      Import Solaris support (#741) · 1aa23925
      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
      1aa23925
  2. 16 Mar, 2018 1 commit
  3. 26 Feb, 2018 27 commits
  4. 19 Feb, 2018 1 commit
  5. 18 Feb, 2018 6 commits