- 23 May, 2018 1 commit
-
-
Guy M. Broome authored
-
- 06 Apr, 2018 4 commits
-
-
Hisham Muhammad authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
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
-
- 26 Feb, 2018 6 commits
-
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-
Jesin authored
The configure script relied on bash-specific extensions to shell syntax and behavior, causing build failures on systems with other /bin/sh implementations. This commit replaces those with equivalent constructs that should work in all POSIX shells.
-
Michael Klein authored
Fixes #695.
-
Kang-Che Sung (宋岡哲) authored
glibc 2.28 no longer defines 'major' and 'minor' in <sys/types.h> and requires us to include <sys/sysmacros.h>. (glibc 2.25 starts deprecating the macros in <sys/types.h>.) Now do include the latter if found on the system. At the moment, let's also utilize AC_HEADER_MAJOR in configure script. However as Autoconf 2.69 has not yet updated the AC_HEADER_MAJOR macro to reflect the glibc change [1], so add a workaround code. Fixes #663. Supersedes pull request #729. Reference: [1] https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=e17a30e987d7ee695fb4294a82d987ec3dc9b974 Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
-
- 17 Feb, 2018 1 commit
-
-
Hisham Muhammad authored
Fixes #738.
-
- 05 Feb, 2018 1 commit
-
-
Hisham Muhammad authored
Fixes #710.
-
- 04 Feb, 2018 1 commit
-
-
Hisham Muhammad authored
-
- 04 Dec, 2017 1 commit
-
-
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.
-
- 22 Sep, 2017 1 commit
-
-
Emil Velikov authored
The project builds a single standalone binary. There are no libraries created - be that static or shared ones. Thus there's no need for libtool. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-
- 26 Jul, 2017 1 commit
-
-
Hisham Muhammad authored
This is/was necessary only on macOS, because you needed root in order to read the process list. This was never necessary on Linux, and it also raises security concerns, so now it needs to be enabled explicitly at build time.
-
- 10 Jul, 2017 1 commit
-
-
Hisham Muhammad authored
Closes #648.
-
- 19 Apr, 2017 1 commit
-
-
Diederik de Groot authored
-
- 12 Sep, 2016 1 commit
-
-
Hisham authored
Courtesy to OpenWRT environments as requested by @champtar in #540.
-
- 21 Jul, 2016 1 commit
-
-
Hisham authored
-
- 11 Jul, 2016 1 commit
-
-
Ricardo Martincoski authored
This will be used when cross-compiling with ncurses*-config generated for the target, using constructs like HTOP_NCURSES_CONFIG_SCRIPT=/path/to/ncurses5-config Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
-
- 19 May, 2016 1 commit
-
-
Hisham authored
-
- 08 May, 2016 2 commits
-
-
Explorer09 authored
3 effects in this commit, with the first being the main one: 1. Fix the "`missing' script is too old or missing" warning. See: <https://lists.gnu.org/archive/html/automake/2010-08/msg00108.html> 2. By moving AC_CANONICAL_TARGET down in order, we are now able to set the directory for auxiliary scripts. For now it's still './'. I added the line "AC_CONFIG_AUX_DIR([.])" to show that the directory change is possible. 3. AC_USE_SYSTEM_EXTENSIONS includes checks from AC_PROG_CC, by moving the former macro down, we can save size in 'configure' by not generating repeated checks.
-
Explorer09 authored
AC_HELP_STRING -> AS_HELP_STRING AC_TRY_COMPILE -> AC_COMPILE_IFELSE([AC_LANG_PROGRAM([...])],...) AC_CONFIG_HEADER -> AC_CONFIG_HEADERS AC_PROG_LIBTOOL -> LT_INIT Note: There might be more deprecated macros that I haven't noticed. I just wish to avoid painful highlighting from my text editor (gedit) that complains about them. :)
-
- 04 May, 2016 1 commit
-
-
Hisham authored
Use a SOURCE_DATA_EPOCH friendly date. Suggested by @fasterit in #476.
-
- 18 Apr, 2016 2 commits
-
-
James Clarke authored
-
James Clarke authored
-
- 07 Mar, 2016 1 commit
-
-
Hisham authored
-
- 14 Feb, 2016 1 commit
-
-
Hisham authored
-
- 02 Feb, 2016 1 commit
-
-
Hisham authored
-
- 05 Jan, 2016 1 commit
-
-
Christian Hesse authored
-
- 09 Dec, 2015 2 commits
-
-
Hisham Muhammad authored
-
Hisham Muhammad authored
See #198.
-
- 06 Dec, 2015 1 commit
-
-
Hisham Muhammad authored
when testing for ncurses library. See #198.
-
- 30 Nov, 2015 1 commit
-
-
Hisham Muhammad authored
Ensure that all necessary libs and flags are passed along, such as adding -ltinfo when needed. Closes #198.
-
- 19 Nov, 2015 1 commit
-
-
Hisham Muhammad authored
-
- 18 Sep, 2015 1 commit
-
-
Michael McConville authored
-
- 20 Aug, 2015 1 commit
-
-
Hisham Muhammad authored
Closes #241.
-
- 19 Aug, 2015 1 commit
-
-
Hisham Muhammad authored
-