aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/ps.c
AgeCommit message (Expand)Author
2019-05-16Have ps.c human_readable fields use all the available space.Rob Landley
2019-05-16Use the space reserved in the header to display more precision.Rob Landley
2019-05-16Minor code shrink.Rob Landley
2019-03-02Make top -H show TID instead of PID, not collate %CPU into parent threadRob Landley
2019-03-01Yes it's a one instruction race, but it bothers me.Rob Landley
2019-02-27top: fix -b.Elliott Hughes
2019-02-17top: make the task/thread count add up.Elliott Hughes
2019-02-16Disallow -o "" in top.Rob Landley
2019-02-16top: differentiate tasks (processes) and threads in the header.Elliott Hughes
2019-02-16top: make the column header span the terminal.Elliott Hughes
2019-02-13top: support Enter as a synonym for Space.Elliott Hughes
2019-02-13top: use human_readable for the header lines too.Elliott Hughes
2019-02-13top: hide the cursor in interactive mode.Elliott Hughes
2019-02-07ps, top: fix VIRT and SHR fields.Elliott Hughes
2019-01-25OpenEmbedded needs commands installed in specific places.Rob Landley
2019-01-21Add more comments to ps.c and replace hardcoded value with a macro.Rob Landley
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