summaryrefslogtreecommitdiffstats
path: root/Process.h
AgeCommit message (Collapse)Author
2020-08-25Avoid discarding const qualifiersChristian Göttsche
2020-08-20Merge branch 'hishamhm-pull-866'Nathan Scott
2020-08-20Resolve compiler warnings and errors relating to the Arg unionNathan Scott
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 (?).
2020-08-19Merge branch 'hishamhm-pull-869'Nathan Scott
2020-08-18Re-generate all headers with latest scripts/MakeHeader.pyNathan Scott
Sync-up missing extern declarations for many functions.
2018-12-30Deal with larger numbers in colorNumber and outputRateadrien1018
2018-12-15Remove unnecessary HAVE_SYS_SYSMACROS_H checkWataru Ashihara
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.
2018-04-05Collapse current subtree pressing BackspaceHisham Muhammad
2018-02-26Updates to generated header filesHisham Muhammad
2018-02-18Replace size_t with int/void* unionHisham Muhammad
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
2018-02-04Add support for Linux TASK_IDLEVladimir Panteleev
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.
2017-09-14Make 'c' key work with threads as well.Hisham Muhammad
2016-05-30Silence cast warning.Hisham
2016-02-02Reuse comm object if possible, avoid useless repetitions of free+strdup.Hisham
2015-12-14Extend buffer for reading lines from /proc.Hisham Muhammad
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
2015-09-10Remove duplicate declaration.Jardel Weyrich
2015-08-20Make column width calculation dynamic.Hisham Muhammad
Closes #228.
2015-05-20added missing defines for androidsherpya
2015-04-02Merge branch 'master' into wipHisham Muhammad
Conflicts: Process.c Process.h htop.c linux/LinuxProcess.c linux/LinuxProcess.h test_spec.lua
2015-03-31Fixes to subclassing Process.Hisham Muhammad
2015-03-23Tempus fugit.Hisham Muhammad
Conflicts: htop.c htop.h
2015-03-21Tempus fugit.Hisham Muhammad
2015-03-16Major advances in FreeBSD port.Hisham Muhammad
2015-03-16Isolate portable and Linux-specific process fields.Hisham Muhammad
2015-03-15Move more Linux-specific code into Linux subdir.Hisham Muhammad
2015-02-23Merge fixesHisham Muhammad
2015-02-23Fix allocation of processes. Closes #166.Hisham Muhammad
Conflicts: Process.c Process.h ProcessList.c ScreenManager.c linux/LinuxProcessList.c
2015-02-20Fix allocation of processes. Closes #166.Hisham Muhammad
2015-01-21Sorry about the mega-patch.Hisham Muhammad
This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
2014-11-27Move "get max pid" code into platform specific area.Hisham Muhammad
2014-11-24Changes for supporting separate platform subdirectories.Hisham Muhammad
2014-04-25Compare with long, for 64-bit systemsHisham Muhammad
2014-04-24Support pagefaults stats. Closes #45.Hisham Muhammad
2014-04-09Support for very large numbers, now tested on a 64-bit machine.Hisham Muhammad
2014-04-09Support really large numbers on 64-bit architectures; first try.Hisham Muhammad
2014-02-27New logic for highlighting basenames with spacesHisham Muhammad
2014-02-27alignment improvementsHisham Muhammad
2014-01-29Added additional column to monitor OOM killer score of each processLeigh Simpson
2013-05-24Performance improvements due to conditional parsing of IO data depending on ↵Hisham Muhammad
selected fields. On my machine, this gives a ~20% improvement in htop process time use with the default config.
2012-12-05Changes in object model: separate class objects to store vtable. Also, nicer ↵Hisham Muhammad
UTF-8 display of big numbers.
2012-10-04Add IO priority support ('i' key)Hisham Muhammad
2011-12-26major header cleanupHisham Muhammad
2011-11-21Remove bundled hwloc-1.2.1. Use either native Linux affinity support or an ↵Hisham Muhammad
external libhwloc. (for details see https://sourceforge.net/mailarchive/forum.php?thread_name=CAJpkDYeZpwqcWxZ77wq6bMrnhn-KzkU1xAqb3cU0drfnA3n9FQ%40mail.gmail.com&forum_name=htop-general )
2011-11-18Mega-commit with features and tweaks for 1.0:Hisham Muhammad
* 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-09-29Use wider PID columns in 64-bit machines with larger pid_max values.Hisham Muhammad
2011-09-24Convert affinity control from the deprecated PLPA to HWLOCHisham Muhammad
2011-05-26Tempus fugit.Hisham Muhammad
2011-03-28handle large values for process timeHisham Muhammad
2010-11-22Remove arbitrary limit from rich stringsHisham Muhammad
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-10-30no need to pad values; provide a default on machines without cgroupHisham Muhammad