Wataru Ashihara
b34d76cd41
Fix: infinite loop in tree view on macOS
...
Fixes #688 , the bug regressed on 584a9bc .
On Mac OS X 10.11.6, all processes have their parents since there's a
special process named "kernel_task", whose PID and PPID are 0. As a
result, `this->processes` is never changed causing infinite `while`.
8 years ago
Hisham Muhammad
e3f65c8ec2
Make 'c' key work with threads as well.
9 years ago
Hisham Muhammad
b9934ffa08
minor style tweak
9 years ago
wangqr
584a9bceab
Find roots when constructing process tree, fix #587
9 years ago
Hisham
84a69b1ea4
Release resource when using hwloc
10 years ago
Hisham Muhammad
c18309466d
Pre-reset 'show' for process.
...
This simplifies the protocol between the platform-independent
and platform-specific parts. The platform-specific parts
were supposed to re-determine the value of process->show
on each iteration, and the Darwin subsystem wasn't doing that.
Instead of adding the code to the Darwin part, I lifted the
burden of the OS-specific of resetting process->show: now
they can choose to hide a process if they want to (e.g.
detecting kernel threads) but are not required to
(e.g. on Darwin where we're not listing threads separately (yet?)).
Fixes tree view collapsing/expanding on OSX. Closes #416 .
10 years ago
Hisham
474d26cea8
Portable affinity using hwloc
10 years ago
David Hunt
5e602f18d5
Rename String to StringUtils.
...
Fixes building on case-insensitive filesystems where String.h gets confused with <string.h>.
From d734dacea0a10d0465dad4e95b3421511e7da112 Mon Sep 17 00:00:00 2001
From: David Hunt <dhunt@iolanthe.attlocal.net>
Date: Sat, 11 Jul 2015 20:56:31 -0500
Subject: [PATCH 1/8] Rename String to StringUtils
11 years ago
Hisham Muhammad
b291fba02b
Fixes to use platform-specific compare routines.
11 years ago
Hisham Muhammad
b1f934c5d5
Visual tweaks: change color when following, add Broken Gray theme.
11 years ago
Hisham Muhammad
272e2d9b34
Major advances in FreeBSD port.
11 years ago
Hisham Muhammad
adbfe3c3f1
Get FreeBSD tree to compile again with latest changes.
11 years ago
Hisham Muhammad
e3fe3962cb
Move more Linux-specific code into Linux subdir.
11 years ago
Hisham Muhammad
6f868b00c0
Fix allocation of processes. Closes #166 .
11 years ago
Hisham Muhammad
3383d8e556
Sorry about the mega-patch.
...
This is a work-in-progress, code is currently broken.
(Some actions, and notably, the header, are missing.)
11 years ago
Hisham Muhammad
cda6bdd56b
Add ProcessList_delete to the variable interface.
11 years ago
Hisham Muhammad
aaaaf063a1
Builds on Linux again!
11 years ago
Hisham Muhammad
eb229d9aef
Changes for supporting separate platform subdirectories.
11 years ago
Hisham Muhammad
9faf4938b8
Refactored key handlers.
...
Made the logic more modular, hopefully easier to follow,
and removed repeated code.
Plus, some optimization in RichString code.
11 years ago
Jeff Garrett
ab0bceb550
Interpret command line PIDs as PIDs, not TIDs
12 years ago
yar
730ab0c9a8
pass processlist flags to readOpenVZData (fixes build error)
12 years ago
Hisham Muhammad
f54a37b4a9
Update values for fields whose columns may appear later. Fixes #80 .
12 years ago
Hisham Muhammad
e0209da88f
Support pagefaults stats. Closes #45 .
12 years ago
Hisham Muhammad
34b89a9747
Add sanity checks.
12 years ago
Hisham Muhammad
28d4cad5fe
xread may return -1.
12 years ago
Hisham Muhammad
f677843288
Restrict size of inputs on sscanf reads.
12 years ago
Hisham Muhammad
3fbd1ef76d
check return of topoErr
12 years ago
Hisham Muhammad
5b30280810
shorten scope of variables.
12 years ago
Hisham Muhammad
4027e5ee44
goto considered harmful and confuses cppcheck.
12 years ago
Hisham Muhammad
99bc23771f
Fix resource leak detected by cppcheck
12 years ago
Hisham Muhammad
4716a9857b
Fix logic for skipping non-numeric directories.
...
Closes #42 .
12 years ago
Edgar Kalkowski
c8be3701b8
Fix tree view if userland threads are hidden.
12 years ago
Hisham Muhammad
cb297af848
Fix invalid access when highlighting basename of threads.
12 years ago
Hisham Muhammad
f2a190b0e9
New logic for highlighting basenames with spaces
12 years ago
Hisham Muhammad
6d90e58c01
alignment improvements
12 years ago
Leigh Simpson
da236ca318
Added additional column to monitor OOM killer score of each process
12 years ago
Hisham Muhammad
76a715ee8c
Fix order of calloc arguments.
...
(Patch by Dawid Gajownik)
12 years ago
Hisham Muhammad
8ace29c267
Make CPU meter optionally account guest time in its percentages
12 years ago
Hisham Muhammad
af285d1d3b
Fixes in accounting of guest time when using virtualization
...
(thanks to Patrick Marlier)
12 years ago
Hisham Muhammad
6cfa9e0bf2
Performance improvements due to conditional parsing of IO data depending on selected fields.
...
On my machine, this gives a ~20% improvement in htop process time use with the default config.
13 years ago
Hisham Muhammad
322ba274ea
Performance improvements
...
(thanks to Jann Horn)
13 years ago
Hisham Muhammad
00b324bfc1
Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers.
13 years ago
Hisham Muhammad
2a73405cd0
search and filter for the strace and lsof screens!
14 years ago
Hisham Muhammad
f44a8f2009
Option to update process names on every refresh
...
(thanks to Rob Hoelz)
14 years ago
Hisham Muhammad
1b21827f1f
Fail gracefully when /proc is not mounted
...
(thanks to Philipp Hagemeister)
14 years ago
Hisham Muhammad
47e881f460
Add IO priority support ('i' key)
14 years ago
Hisham Muhammad
e6c6d7fbf7
Add -p flag, contributed by Rob Hoelz
14 years ago
Hisham Muhammad
90d567531a
Fix CPU percentage. Patch 3522180 for bug 3516978, by Richard.
14 years ago
Hisham Muhammad
05a78c8111
Auto-follow process when selecting which signal to use when killing a process.
...
This avoids killing the wrong process.
14 years ago
Hisham Muhammad
1a604a05a5
BUGFIX: behavior of 'F' (follow) key was broken, also affecting the
...
persistence of mouse selections. Closes #3165065 .
14 years ago