aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/ps.c
AgeCommit message (Expand)Author
2018-02-10Rename struct strawberry -> struct ofields, and carveup -> procpid.Rob Landley
2018-02-09Andreas Gampe suggested a different fix.Rob Landley
2018-02-08Thinko pointed out by Andreas Gampe (causing segfaults in top, oops).Rob Landley
2018-01-24Revert the ps -T thing until I understand what Elliott wants.Rob Landley
2018-01-15Fix "ps -T 1234" to show thread belonging to that PID.Rob Landley
2018-01-15Merge shared_main() back into ps_main() and top_main(), add comments.Rob Landley
2018-01-15Add more comments to ps.Rob Landley
2018-01-06Move millitime() into lib.c.Rob Landley
2017-10-31Add top -m, fix width truncating for narrow screens (off by one), and add iot...Rob Landley
2017-08-31Another try at fixing the ps segfault resulting from /proc entries vanishingRob Landley
2017-06-19Manually inline TOP_COMMON and PGKILL_COMMON help text until I can teachRob Landley
2017-03-28ps: don't query for terminal size if not a tty.Josh Gao
2017-03-21dirtree_flagread() returns DIRTREE_ABORTVAL when the initial node doesn'tRob Landley
2017-02-20If the last ps field is left justified, it extends to the width of the screen.Rob Landley
2017-02-06ps -l has 4 chars left for "cmd", switch "ADDR" to "BIT" to save space.Rob Landley
2017-02-06Make tty size failure to enable -w (Elliott prefers that), and fix last fieldRob Landley
2017-02-05Don't set SIGWINCH when reading ANSI size probe data, it causes a loop.Rob Landley
2017-02-05Bugfix: last field was padding to width with trailing spaces (oops), andRob Landley
2017-02-05Default to width 80 when tty size probe fails (ala serial console).Rob Landley
2017-02-03Fix typo in pgrep help.Elliott Hughes
2017-02-01Extend default USER length to 12 and output "+" as last character of truncatedRob Landley
2017-01-31ps bugfix: len of TTY field doesn't include null terminator, so memmove shouldRob Landley
2017-01-28Tweak -w help text to clarify that it prevents truncating _any_ fields, notRob Landley
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