Hisham Muhammad
100bd10b1d
Make blue text more readable. Closes #55 .
12 years ago
Hisham Muhammad
d28b281165
Fix compiler complaints.
12 years ago
Hisham Muhammad
79e390120a
Remove use of usleep, which is sadly obsolete.
12 years ago
Hisham Muhammad
30bafafb24
avoid strtok and reduce scope of variables.
12 years ago
Hisham Muhammad
19b438de10
Improve discoverability of the expand/collapse feature.
...
It is now accessible via F6 when on tree view (as a bonus, it is
now also reachable via the mouse). The function bar now dynamically
changes to reflect the toggle nature of the tree-view mode (F5)
and the F6 key serves as expand/collapse when on tree mode,
and its previous behavior of bringing up the "Sort By" menu
(which only made sense on non-tree mode). Users wishing to go to
the "Sort By" menu straight from Tree View can still do so with the
"<" and ">" keys (the top-compatible keys for sort selection).
12 years ago
Hisham Muhammad
1d9e1b0118
Add missing check for return value and be more conservative in constructs to avoid future slips of this kind.
12 years ago
Hisham Muhammad
4256c23d84
Refactor the drawing of the help screen
12 years ago
Hisham Muhammad
1c0e93c1bd
First new feature of the git era! "c" key tags all children of a process.
12 years ago
Hisham Muhammad
8ace29c267
Make CPU meter optionally account guest time in its percentages
12 years ago
Hisham Muhammad
ee5dc46fee
Don't end up killing init if process selected to be killed terminates before the user selects a signal. Closes #3606072 .
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
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
0d8f654343
allow 'k' to kill multiple processes again (when did this break?...)
14 years ago
Hisham Muhammad
fae598fce8
Continue following when switching to tree view. Patch by Richard Wang.
14 years ago
Hisham Muhammad
ac36e4acbf
fix message in help screen
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
bca656c79e
Fix crashes when process list is empty
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
Hisham Muhammad
ff8d54c221
Extra check if Process_getAffinity fails.
...
I could not reproduce the crash in current SVN
(I've been adding checks for problems like this),
but the sanity check looks correct.
Thanks to Cybjit. Closes #3481053 .
14 years ago
Hisham Muhammad
45f7a4fc8d
Remove old memory debugging routines. We have Valgrind nowadays.
14 years ago
Hisham Muhammad
84281bdc44
major header cleanup
14 years ago
Hisham Muhammad
81e44312b4
Use strdup explicitly
14 years ago
Hisham Muhammad
bfd86a60cc
Keep panel structure up-to-date as process list changes when headers are updated during the screen manager. Hopefully closes #3444533 .
14 years ago
Hisham Muhammad
bc87a8ff8c
Remove bundled hwloc-1.2.1. Use either native Linux affinity support or an external libhwloc.
...
(for details see https://sourceforge.net/mailarchive/forum.php?thread_name=CAJpkDYeZpwqcWxZ77wq6bMrnhn-KzkU1xAqb3cU0drfnA3n9FQ%40mail.gmail.com&forum_name=htop-general )
15 years ago
Hisham Muhammad
7ca1081712
Mega-commit with features and tweaks for 1.0:
...
* Performance improvements
* Support for splitting CPU meters into two or four columns
(thanks to Wim Heirman)
* Switch from PLPA, which is now deprecated, to HWLOC.
* Bring back support for native Linux sched_setaffinity,
so we don't have to use HWLOC where we don't need to.
* Support for typing in user names and column fields in selection panels.
15 years ago
Hisham Muhammad
88f6de2352
build fixes
15 years ago
Hisham Muhammad
e204861de5
Allow typing to select items in various panels (sort, user, signal).
...
Factored code from the SignalsPanel to apply to all selections from main screen.
Closes feature request #3425304 .
15 years ago
Hisham Muhammad
ca6b9238a3
Support for UTF-8 tree drawing
...
(thanks to Bin Guo)
15 years ago
Hisham Muhammad
75080ce79d
Use wider PID columns in 64-bit machines with larger pid_max values.
15 years ago
Hisham Muhammad
ec17b7029a
Convert affinity control from the deprecated PLPA to HWLOC
15 years ago
Hisham Muhammad
d07b043ee0
Fix --sort-key=help
15 years ago
Hisham Muhammad
b288eb88c0
minor change to improve portability
15 years ago
Hisham Muhammad
f7fe4b4722
Fix off-by-one error in PROCESSOR display
15 years ago
Hisham Muhammad
25a2aada3c
Fix on-screen documentation regarding [ and ]
15 years ago
Hisham Muhammad
11092662ee
incremental filtering
...
plus some fixes
15 years ago
Hisham Muhammad
5dfb46e14f
Stricter checks for command-line options
...
(thanks to Sebastian Pipping)
15 years ago
Hisham Muhammad
7a9615960f
ncurses does not support the scrollwheel well, but this is a step in that direction.
15 years ago
Hisham Muhammad
219bb9ccff
handle large values for process time
15 years ago
Hisham Muhammad
a9c0ea3753
* Option for counting CPUs from zero
...
(thanks to Sean Noonan)
* Meters update in every screen (no longer halting while on Setup, etc.)
15 years ago
Hisham Muhammad
4367e64b1d
Fix online help!
16 years ago
Hisham Muhammad
d8e1480a27
Remove arbitrary limit from rich strings
...
Fix subtree hiding
Fix reading of CPU values in hidden threads
Fix hiding of zombie processes as kernel threads
Remove "debug proc" code
Code cleanup in processElements
16 years ago
Hisham Muhammad
0ff54ebac9
Fix search by process name when processes are filtered by user. Closes #2803481 .
16 years ago
Hisham Muhammad
6486229308
add support for steal/guest CPU time measurement
...
simplify processor data accounting (add CPUData structure)
remove Process_clone trick
16 years ago
Hisham Muhammad
9eb912149e
expand/collapse tree
16 years ago
Hisham Muhammad
62a31673cb
getopt-based long options and --no-color
...
(thanks to Vincent Launchbury)
16 years ago
Hisham Muhammad
02a30bfecd
warning fixes
16 years ago
Hisham Muhammad
2b53419983
* BUGFIX: Fix crash on F6 key
...
(thanks to Rainer Suhm)
17 years ago
Hisham Muhammad
9b8d11d9f1
doc fix
17 years ago