aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/ps.c
AgeCommit message (Expand)Author
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
2016-01-26Add ps -O (inserts extra args before last field), and make -w the defaultRob Landley
2016-01-25Next lump of top work. Add -o DISPLAY_FIELDS -k FALLBACK_SORTS -s SORT_BY plusRob Landley
2016-01-21Replace slot[] constants with SLOT_blah, fix some that weren't displaying right.Rob Landley
2016-01-20Correct units of %MEM and %VSZ.Rob Landley
2016-01-20Add basic top support to ps.c, delete toys/pending/top.c.Rob Landley
2016-01-18Implement pgrep -clv (and remove some accidentally checked in debug code).Rob Landley
2016-01-18Implement basic pkill plumbing, and fix FORCE_FLAGS on flag context switch.Rob Landley
2016-01-17Extend utf8 fontmetrics so ps can use them.Rob Landley
2016-01-14Implement most of pgrep and pkill.Rob Landley
2016-01-10Make cursor left/right change sort type in iotop.Rob Landley
2016-01-01First pass at iotop.Rob Landley
2015-12-30First half of iotop. Add READ, WRITE, IO, DREAD, DWRITE, SWAP, DIO, andRob Landley
2015-12-29Move comma_args() from ps.c to lib.Rob Landley
2015-12-21Add ps -o psr,rtprio,sched.Elliott Hughes
2015-12-18Next giant chunk of ps work: add _NAME_TAG bitmask values to tags.hRob Landley
2015-12-12Make "ps -o TIME+ -k TIME+" work. Factor out -o field names, field lengths,Rob Landley
2015-12-05Add start of top infrastructure to ps, null terminate some stridx() searches,Rob Landley
2015-11-29Implement ps --sort.Rob Landley
2015-11-29Add basic sort logic.Rob Landley
2015-11-28Split out string_field() from show_ps().Rob Landley
2015-11-28Save string offsets rather than recalculating them each time, and use structRob Landley
2015-11-26Split do_ps() into get_ps() and show_ps() as a start on implementing --sort.Rob Landley
2015-11-09Cleanup pass: inline find_tty_name(), bounds check fscanf(), use libcRob Landley
2015-11-09Make ps try harder to find a name for a tty.Elliott Hughes
2015-11-09On Android, ps' default output should match toolbox.Elliott Hughes
2015-11-09Add ps -n.Elliott Hughes
2015-11-09Add ps -o CMDLINE.Elliott Hughes
2015-11-02Add -P as short option for --ppid.Rob Landley
2015-11-02Fix the ps -o CMD vs COMM distinction.Elliott Hughes