aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/ps.c
AgeCommit message (Expand)Author
2017-01-28Add missing `static`s and remove an unused function.Elliott Hughes
2017-01-28top -H is more useful if it shows thread names.Elliott Hughes
2016-12-09Pass DIRTREE_PROC through the ps callbacks.Elliott Hughes
2016-12-08Add DIRTREE_PROC to skip non-numeric entries and make ps/top etc use it.Rob Landley
2016-11-02Fix control flow integrity check failure in ps.Evgenii Stepanov
2016-10-12Stop renaming the ADDR field to PC on Android.Elliott Hughes
2016-10-08Teach ps -w not to truncate any fields.Rob Landley
2016-10-08Evgenii Stepanov found a bug where argv0len was set wrong for threadsRob Landley
2016-09-29Accept extra ps arguments as additional pids.Elliott Hughes
2016-09-28Show thread names with "ps -T" on Android.Elliott Hughes
2016-07-13Increase ps' default RSS and VSIZE widths.Elliott Hughes
2016-06-28Fix a "may be used uninitialized".Rob Landley
2016-06-17Make it clearer that CMD is the thread name.Elliott Hughes
2016-06-15Add readlink0() and readlinkat0() which null terminate the data.Rob Landley
2016-06-10Shuffle arguments around (TNAME->NAME->COMM->CMD), working around posixRob Landley
2016-06-10Revert commit e02e41373ea3, we're always initializing the TNAME stringRob Landley
2016-06-10HACK: restore Android ps behavior.Elliott Hughes
2016-06-08Fix ps bug, last field wasn't expanding to width.Rob Landley
2016-06-08Change the TNAME behavior to "Show parent argv[0]. If that's blank, showour a...Rob Landley
2016-06-04Basic success/failure return from pgrep/pkill.Elliott Hughes
2016-06-04ps: Show [stat2] for any otherwise blank process name field, expand TNAME to 27,Rob Landley
2016-05-27Add -o TNAME for android, fix display of last field (retain left justifificationRob Landley
2016-05-24The "show parent command path" commit changed the criteria for active nodes,Rob Landley
2016-05-23Fix remaining pkill tests.Elliott Hughes
2016-05-23Fix pkill -9.Elliott Hughes
2016-05-22Don't truncate number fields for anything but right edge of screen, insteadRob Landley
2016-05-22Make -o COMMAND show parent command path for threads, and use saved lengthRob Landley
2016-05-22Comment and help text tweaks.Rob Landley
2016-05-20Add bufgetgrgid()Rob Landley
2016-05-17Add bufgetpwuid. (Repeated calls to getpwuid() are really expensive.)Rob Landley
2016-05-16Add top -ORob Landley
2016-05-05Add top -H.Elliott Hughes
2016-05-05"top -b -n1" should end with a newline.Elliott Hughes
2016-05-04Elliott says -T should fetch threads even when not displaying thread fields.Rob Landley
2016-05-04Simplify ps android scheduling policy fetch slightly.Rob Landley
2016-04-30Add a ps "PCY" field for Android scheduling policy.Elliott Hughes
2016-04-29First guess at showing thread names properly.Rob Landley
2016-04-29Show "-" rather 0 if we don't know whether a process is 32- or 64-bit.Elliott Hughes
2016-04-29Fix ps -O help output alignment.Elliott Hughes
2016-04-25ps thread supportand 32/64 bit detection.Rob Landley
2016-04-16Fix "ssh top".Elliott Hughes
2016-04-16Fix top -b.Elliott Hughes
2016-03-02For years the man pages have said to #include <sys/types.h> to getRob Landley
2016-02-29Fix trailing spaces on ps -o cmdline.Elliott Hughes
2016-01-28Add SIGWINCH support to top, and implement -o and -n in pgrep/pkill.Rob Landley
2016-01-28Adding -M broke ps -k header printing without -M.Rob Landley
2016-01-27Don't resort or recalculate headers for cursor up/down, do PGUP PGDN, andRob Landley
2016-01-27Add cpu line to top, and fix a bug initializing upticks slot.Rob Landley
2016-01-27Don't try to be fancy with top headers, just hardwired the standardish ones.Rob Landley
2016-01-26Add ps -M to measure/expand field widths if they don't fit.Rob Landley