summaryrefslogtreecommitdiffstats
path: root/Process.h
Commit message (Collapse)AuthorAgeFilesLines
* Avoid discarding const qualifiersChristian Göttsche2020-08-251-1/+1
|
* Merge branch 'hishamhm-pull-866'Nathan Scott2020-08-201-2/+1
|\
| * Remove unnecessary HAVE_SYS_SYSMACROS_H checkWataru Ashihara2018-12-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | HAVE_SYS_SYSMACROS_H is always true if MAJOR_IN_SYSMACROS. This way of checking is recommended in autoconf 2.70 documentation: https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blobdiff;f=doc/autoconf.texi;h=4f041bd4e;hp=9ad7dc1c5f02c8ba25b2fe1218bf931c7113a5d5;hb=e17a30e987d7ee695fb4294a82d987ec3dc9b974;hpb=565a6dc50cfa01cec2fb4db894026689cdf4970c NOTE: currently https://www.gnu.org/software/autoconf/manual/autoconf.html is the doc for autoconf 2.69.
* | Resolve compiler warnings and errors relating to the Arg unionNathan Scott2020-08-201-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Promote the Arg union to a core data type in Object.c such that it is visible everywhere (many source files need it), and correct declarations of several functions that use it. The Process_sendSignal function is also corrected to have the expected return type (bool, not void) - an error being masked by ignoring this not-quite-harmless warning. I've also added error checking to the kill(2) call here, which was previously overlooked / missing (?).
* | Merge branch 'hishamhm-pull-869'Nathan Scott2020-08-191-0/+2
|\ \
| * | Deal with larger numbers in colorNumber and outputRateadrien10182018-12-301-0/+2
| |/
* / Re-generate all headers with latest scripts/MakeHeader.pyNathan Scott2020-08-181-15/+15
|/ | | | Sync-up missing extern declarations for many functions.
* Collapse current subtree pressing BackspaceHisham Muhammad2018-04-051-0/+2
|
* Updates to generated header filesHisham Muhammad2018-02-261-0/+5
|
* Replace size_t with int/void* unionHisham Muhammad2018-02-181-2/+2
| | | | | | | | I was occasionally passing negative values to size_t. Plus, this better reflects the intent of the variant argument. Reported by Coverity: https://scan8.coverity.com/reports.htm#v13253/p10402/fileInstanceId=22093891&defectInstanceId=7543346&mergedDefectId=174179&fileStart=251&fileEnd=500
* Add support for Linux TASK_IDLEVladimir Panteleev2018-02-041-0/+2
| | | | | | | | | | | | | | Linux commit 06eb61844d841d0032a9950ce7f8e783ee49c0d0 ("sched/debug: Add explicit TASK_IDLE printing") exposes kthreads idling using TASK_IDLE in procfs as "I (idle)". Until now, when sorting the STATE ("S") column, htop used the raw value of the state character for comparison, however that led to the undesirable effect of TASK_IDLE ('I') tasks being sorted above tasks that were running ('R'). Thus, explicitly recognize the idle process state, and sort it below others.
* Make 'c' key work with threads as well.Hisham Muhammad2017-09-141-0/+2
|
* Silence cast warning.Hisham2016-05-301-0/+1
|
* Reuse comm object if possible, avoid useless repetitions of free+strdup.Hisham2016-02-021-0/+1
|
* Extend buffer for reading lines from /proc.Hisham Muhammad2015-12-141-0/+2
| | | | | Apparently a line longer than 255 chars was spotted in the wild: http://serverfault.com/questions/577939/linux-ps-htop-show-processes-running-for-hundreds-or-thousands-of-days-though-h#comment676098_577939
* Remove duplicate declaration.Jardel Weyrich2015-09-101-2/+0
|
* Make column width calculation dynamic.Hisham Muhammad2015-08-201-3/+11
| | | | Closes #228.
* added missing defines for androidsherpya2015-05-201-0/+5
|
* Merge branch 'master' into wipHisham Muhammad2015-04-021-4/+14
|\ | | | | | | | | | | | | | | | | | | Conflicts: Process.c Process.h htop.c linux/LinuxProcess.c linux/LinuxProcess.h test_spec.lua
| * Fixes to subclassing Process.Hisham Muhammad2015-03-311-1/+14
| |
| * Tempus fugit.Hisham Muhammad2015-03-211-1/+1
| |
| * Merge fixesHisham Muhammad2015-02-231-3/+1
| |
| * Fix allocation of processes. Closes #166.Hisham Muhammad2015-02-231-2/+4
| | | | | | | | | | | | | | | | | | Conflicts: Process.c Process.h ProcessList.c ScreenManager.c linux/LinuxProcessList.c
* | Tempus fugit.Hisham Muhammad2015-03-231-1/+1
| | | | | | | | | | | | Conflicts: htop.c htop.h
* | Major advances in FreeBSD port.Hisham Muhammad2015-03-161-1/+5
| |
* | Isolate portable and Linux-specific process fields.Hisham Muhammad2015-03-161-57/+43
| |
* | Move more Linux-specific code into Linux subdir.Hisham Muhammad2015-03-151-36/+6
| |
* | Fix allocation of processes. Closes #166.Hisham Muhammad2015-02-201-2/+2
| |
* | Sorry about the mega-patch.Hisham Muhammad2015-01-211-28/+16
|/ | | | | This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
* Move "get max pid" code into platform specific area.Hisham Muhammad2014-11-271-1/+1
|
* Changes for supporting separate platform subdirectories.Hisham Muhammad2014-11-241-18/+3
|
* Compare with long, for 64-bit systemsHisham Muhammad2014-04-251-2/+2
|
* Support pagefaults stats. Closes #45.Hisham Muhammad2014-04-241-1/+1
|
* Support for very large numbers, now tested on a 64-bit machine.Hisham Muhammad2014-04-091-2/+2
|
* Support really large numbers on 64-bit architectures; first try.Hisham Muhammad2014-04-091-7/+8
|
* New logic for highlighting basenames with spacesHisham Muhammad2014-02-271-0/+1
|
* alignment improvementsHisham Muhammad2014-02-271-42/+52
|
* Added additional column to monitor OOM killer score of each processLeigh Simpson2014-01-291-0/+6
|
* Performance improvements due to conditional parsing of IO data depending on ↵Hisham Muhammad2013-05-241-0/+8
| | | | | | | selected fields. On my machine, this gives a ~20% improvement in htop process time use with the default config.
* Changes in object model: separate class objects to store vtable. Also, nicer ↵Hisham Muhammad2012-12-051-6/+2
| | | | UTF-8 display of big numbers.
* Add IO priority support ('i' key)Hisham Muhammad2012-10-041-1/+20
|
* major header cleanupHisham Muhammad2011-12-261-24/+3
|
* Remove bundled hwloc-1.2.1. Use either native Linux affinity support or an ↵Hisham Muhammad2011-11-211-2/+2
| | | | | | | external libhwloc. (for details see https://sourceforge.net/mailarchive/forum.php?thread_name=CAJpkDYeZpwqcWxZ77wq6bMrnhn-KzkU1xAqb3cU0drfnA3n9FQ%40mail.gmail.com&forum_name=htop-general )
* Mega-commit with features and tweaks for 1.0:Hisham Muhammad2011-11-181-0/+8
| | | | | | | | | | | * 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.
* Use wider PID columns in 64-bit machines with larger pid_max values.Hisham Muhammad2011-09-291-0/+3
|
* Convert affinity control from the deprecated PLPA to HWLOCHisham Muhammad2011-09-241-6/+6
|
* Tempus fugit.Hisham Muhammad2011-05-261-1/+1
|
* handle large values for process timeHisham Muhammad2011-03-281-4/+4
|
* Remove arbitrary limit from rich stringsHisham Muhammad2010-11-221-2/+9
| | | | | | | | | 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
* no need to pad values; provide a default on machines without cgroupHisham Muhammad2010-10-301-0/+6
|

© 2014-2024 Faster IT GmbH | imprint | privacy policy