aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/ps.c
AgeCommit message (Expand)Author
2018-12-29Use FLAG() macros in ps.Rob Landley
2018-12-04Clean up some --help formatting.Elliott Hughes
2018-11-30Tweak comments.Rob Landley
2018-11-30macOS: move struct sysinfo out of GLOBALS.Elliott Hughes
2018-10-21Add % to lib/args.c (long time in milliseconds), add xmillitime(), redoRob Landley
2018-10-21Move start_redraw() to lib/ and have ps.c (top) use it.Rob Landley
2018-08-25Convert more argument variables in GLOBALS() to new style.Rob Landley
2018-08-17Make microcom use set_terminal() and move speed setting into set_terminal().Rob Landley
2018-07-18ps.c cleanups after help text reshuffle.Rob Landley
2018-07-18Factor out "ps -o help" to show fields, move help text into -o type array,Rob Landley
2018-06-12top: remove flicker in interactive mode.Elliott Hughes
2018-06-12top: running processes are shown in bold.Elliott Hughes
2018-06-02Convert more ps help text to two columns.Rob Landley
2018-05-06Support fractional seconds (and other time units) in `top -d`.Elliott Hughes
2018-04-23Don't include spurious '\r's in `top -b` output.Elliott Hughes
2018-02-10Fix ps -T again, but this time read files from tid directory, not pid.Rob Landley
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