Hisham Muhammad
9428010121
Make column width calculation dynamic.
...
Closes #228 .
2015-08-20 00:32:47 -03:00
sherpya
a8e1c1c63f
added missing defines for android
2015-05-20 04:30:11 +02:00
Hisham Muhammad
d880def0e9
Merge branch 'master' into wip
...
Conflicts:
Process.c
Process.h
htop.c
linux/LinuxProcess.c
linux/LinuxProcess.h
test_spec.lua
2015-04-02 01:57:37 -03:00
Hisham Muhammad
4c24a9b462
Fixes to subclassing Process.
2015-03-31 23:23:10 -03:00
Hisham Muhammad
b1b3f57976
Tempus fugit.
...
Conflicts:
htop.c
htop.h
2015-03-23 18:15:56 -03:00
Hisham Muhammad
1e0c530a46
Tempus fugit.
2015-03-21 16:52:54 -03:00
Hisham Muhammad
272e2d9b34
Major advances in FreeBSD port.
2015-03-16 23:02:03 -03:00
Hisham Muhammad
be1700cf94
Isolate portable and Linux-specific process fields.
2015-03-16 01:43:04 -03:00
Hisham Muhammad
e3fe3962cb
Move more Linux-specific code into Linux subdir.
2015-03-15 20:29:13 -03:00
Hisham Muhammad
0a184b769f
Merge fixes
2015-02-23 03:53:36 -03:00
Hisham Muhammad
9780c312f4
Fix allocation of processes. Closes #166 .
...
Conflicts:
Process.c
Process.h
ProcessList.c
ScreenManager.c
linux/LinuxProcessList.c
2015-02-23 01:13:40 -03:00
Hisham Muhammad
6f868b00c0
Fix allocation of processes. Closes #166 .
2015-02-20 14:52:10 -02:00
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.)
2015-01-21 23:27:31 -02:00
Hisham Muhammad
b4f6b11092
Move "get max pid" code into platform specific area.
2014-11-27 20:10:23 -02:00
Hisham Muhammad
eb229d9aef
Changes for supporting separate platform subdirectories.
2014-11-24 18:55:03 -02:00
Hisham Muhammad
78d09f955a
Compare with long, for 64-bit systems
2014-04-25 19:41:23 -03:00
Hisham Muhammad
e0209da88f
Support pagefaults stats. Closes #45 .
2014-04-24 19:40:47 -03:00
Hisham Muhammad
5d6ad853fa
Support for very large numbers, now tested on a 64-bit machine.
2014-04-09 22:49:36 -03:00
Hisham Muhammad
127f847ca5
Support really large numbers on 64-bit architectures; first try.
2014-04-09 22:32:54 -03:00
Hisham Muhammad
f2a190b0e9
New logic for highlighting basenames with spaces
2014-02-27 17:11:23 -03:00
Hisham Muhammad
6d90e58c01
alignment improvements
2014-02-27 16:35:22 -03:00
Leigh Simpson
da236ca318
Added additional column to monitor OOM killer score of each process
2014-01-29 22:41:55 +00:00
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.
2013-05-24 22:46:01 +00:00
Hisham Muhammad
00b324bfc1
Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers.
2012-12-05 15:12:20 +00:00
Hisham Muhammad
47e881f460
Add IO priority support ('i' key)
2012-10-04 23:59:45 +00:00
Hisham Muhammad
84281bdc44
major header cleanup
2011-12-26 21:35:57 +00:00
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 )
2011-11-21 02:52:41 +00:00
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.
2011-11-18 06:08:56 +00:00
Hisham Muhammad
75080ce79d
Use wider PID columns in 64-bit machines with larger pid_max values.
2011-09-29 18:40:23 +00:00
Hisham Muhammad
ec17b7029a
Convert affinity control from the deprecated PLPA to HWLOC
2011-09-24 00:30:47 +00:00
Hisham Muhammad
300caa076e
Tempus fugit.
2011-05-26 16:35:07 +00:00
Hisham Muhammad
219bb9ccff
handle large values for process time
2011-03-28 19:06:06 +00:00
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
2010-11-22 12:40:20 +00:00
Hisham Muhammad
45de5694ac
no need to pad values; provide a default on machines without cgroup
2010-10-30 19:30:19 +00:00
Hisham Muhammad
6486229308
add support for steal/guest CPU time measurement
...
simplify processor data accounting (add CPUData structure)
remove Process_clone trick
2010-08-24 23:20:38 +00:00
Hisham Muhammad
9eb912149e
expand/collapse tree
2010-06-17 19:02:03 +00:00
Hisham Muhammad
dc262f4df6
STARTTIME column
2010-03-29 18:36:11 +00:00
Hisham Muhammad
a600d5a6e9
Tempus fugit.
2010-02-25 02:08:18 +00:00
Hisham Muhammad
02a30bfecd
warning fixes
2010-02-25 01:43:18 +00:00
Hisham Muhammad
ef31893067
minor tweak
2010-02-22 20:57:25 +00:00
Hisham Muhammad
3b950e4189
BSD related fixes:
...
* BUGFIX: Correct page size calculation for FreeBSD systems
(thanks to Andrew Paulsen)
* Allow compilation without PLPA on systems that don't support it
(thanks to Timothy Redaelli)
2009-03-11 13:15:43 +00:00
Hisham Muhammad
b93e5c00b6
Rename VEID to CTID in OpenVZ systems
...
(thanks to Thorsten Schifferdecker)
2009-03-11 13:05:19 +00:00
Hisham Muhammad
a5dfaa2393
Add Linux-VServer support,
...
contributed by Jonathan Sambrook and Benedikt Bohm
2008-09-23 04:31:13 +00:00
Hisham Muhammad
2338ad5820
Ability to change sort column with the mouse by
...
clicking column titles (click again to invert order).
Also, add a consolidated IO kbyte/s column.
2008-03-14 18:50:49 +00:00
Hisham Muhammad
da23c8c5a1
Clean up headers by using 'static' whenever possible.
...
Reduces resulting code size.
2008-03-09 08:58:38 +00:00
Hisham Muhammad
12f4f09e6e
Add support for Linux per-process IO statistics,
...
enabled with the --enable-taskstats flag, which
requires a kernel compiled with taskstats support.
Thanks to Tobias Oetiker!
2008-03-09 08:02:22 +00:00
Hisham Muhammad
8fa33dc336
Add Unicode support, enabled with the --enable-unicode
...
flag, which requires libncursesw.
Thanks to Sergej Pupykin!
2008-03-09 02:33:23 +00:00
Hisham Muhammad
4df76d127b
Embed PLPA (Portable Linux Processor Affinity) in order to support
...
conflicting affinity API of different Linux kernel versions.
2008-03-05 09:46:47 +00:00
Hisham Muhammad
cf7fdcd1d6
Experimental feature: beep on permission failures.
...
Update dates.
2007-12-17 05:57:28 +00:00
Hisham Muhammad
a7c2aedcec
Improve construction of tree view, properly nesting threads.
...
Add CPU affinity screen ('a' key).
BUGFIX: Correct display of TPGID field.
Add TGID field.
2007-11-08 23:23:01 +00:00
Hisham Muhammad
4c51ad0e35
OpenVZ support, contributed by Sergey Lychko
2007-08-10 05:07:14 +00:00
Hisham Muhammad
d357c67717
Add support of NLWP field, by Bert Wesarg
2007-05-21 19:10:53 +00:00
Hisham Muhammad
9710a43001
Fixes for /proc location, submitted by Florent Thoumie
2007-05-17 18:29:30 +00:00
Hisham Muhammad
eb2803ce79
Share name strings from UsersList
2006-07-12 01:35:59 +00:00
Hisham Muhammad
5d48ab8c28
Performance improvement hackathon: improve process comparison routines,
...
disable useless code in release builds such as runtime type-checking on
dynamic data structures and process fields that are not being computed,
faster(?) method for verifying the process owner (still need to ensure
correctness), don't destroy and create process objects for hidden kernel
threads over and over. Phew. I shouldn't be doing all this today, but I
could not resist.
2006-07-11 06:13:32 +00:00
Hisham Muhammad
f6e0b7d0c0
Regenerated all headers.
2006-06-06 20:28:42 +00:00
Hisham Muhammad
d6231bab89
Initial import.
2006-03-04 18:16:49 +00:00