- 10 Apr, 2018 1 commit
-
-
Daniel Flanagan authored
-
- 06 Apr, 2018 1 commit
-
-
Hisham Muhammad authored
With this commit: * if pkgconfig is installed, it will expand the code inside the shell if, adding the pkgconfig-based tests for the dependencies of Linux delay accounting. * if pkgconfig is not installed, it will add an error message inside the test of Linux delay accounting, telling the user to install pkgconfig and rebuild the configure script if they want to use Linux delay accounting. The end result is: * people running Linux * will not need pkgconfig when not using delay accounting * will need pkgconfig when using delay accounting * if they don't have it * they are told by configure they need to install it and re-run autogen.sh when running from Git * they are told by configure they need to install it and re-run configure when running from the tarball * people not running Linux * will never need pkgconfig ...and in none of the above scenarios the generated configure script produces unexpanded macros for users checking out the sources from Git.
-
- 05 Apr, 2018 18 commits
-
-
volkov-am authored
Header creation fails with non-utf8 locale and python3. Simply set LC_ALL="C" and use python3 to reproduce the issue. env LC_ALL="C" ./scripts/MakeHeader.py MetersPanel.c Traceback (most recent call last): File "./scripts/MakeHeader.py", line 32, in <module> for line in file.readlines(): File "/usr/lib64/python3.5/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 956: ordinal not in range(128) This changes is python2 and python3 compatible cStringIO.StringIO module is removed because it is not able to accept unicode strings https://docs.python.org/2/library/stringio.html#cStringIO.StringIO
-
Daniel Flanagan authored
-
pmalhaire authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Hisham Muhammad authored
-
- 27 Mar, 2018 1 commit
-
-
gmbroome authored
Squashed the following commits: * Solaris: Get LWP enumeration working * Solaris: Make showing and hiding of kernel threads behave * Solaris: remove usage of lwpstatus that is no longer needed * Solaris: no discrete access to parent proc structure needed * Solaris: Restore runtime MaxPid detection after LWP changes * Solaris: Workaround virtual PID signal issue by shadowing kill() with a macro * Solaris: Fix unintention double-shifting of virtual PID for LWP enumeration * Solaris: Add LWPID to default display since LWP enumeration is also default * Solaris: use PAGE_SIZE_KB from Process.h instead of custom definition * Solaris: stop LWP enumeration at 1023 LWPs per proc since that is all we can handle in the virtual PID
-
- 26 Mar, 2018 4 commits
-
-
nerd972 authored
Signed-off-by: Hisham Muhammad <hisham@gobolinux.org>
-
pmalhaire authored
Keep scanning threads for versions before High Sierra 13.0.0 and after 13.3.0.
-
Guy M. Broome authored
-
Explorer09 authored
`make htop-headers` will regenerate all '.h' headers in htop source for all platforms. `make clean-htop-headers` will delete all generated htop headers. Because of the introduction of these two targets, I slightly changed the style of platform-specific portions of makefile rules. Please comment if you accept such a style, or need me to revert to old style. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
-
- 25 Mar, 2018 3 commits
-
-
Hisham Muhammad authored
Use the same method that ps and top use to determine if a process is a kernel thread on Linux: check if cmdline is empty. Thanks to @wangqr's investigation reported here: https://github.com/hishamhm/htop/issues/761#issuecomment-375306069 Fixes #761.
-
Hisham Muhammad authored
Thanks to @gzip4 for tracking this down. Closes #764.
-
Hisham Muhammad authored
-
- 16 Mar, 2018 8 commits
-
-
gmbroome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
Guy M. Broome authored
-
wangqr authored
Fixes #675
-
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: Kang-Che Sung <explorer09@gmail.com>
-
- 02 Mar, 2018 1 commit
-
-
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 3 commits
-
-
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.
-
Hisham Muhammad authored
-
Hisham Muhammad authored
-