summaryrefslogtreecommitdiffstats
path: root/bin/ps/ps.c
Commit message (Expand)AuthorAgeFilesLines
* MFC r265229,r265239:bdrewery2014-05-171-3/+43
* - Move 'showthreads' check out of fmt.c.jhb2013-01-191-1/+1
* Include the thread name along with the command name when displaying thejhb2013-01-181-5/+6
* Use kern.max_pid sysctl to obtain maximum PID number instead of using localpjd2012-12-121-3/+17
* Avoid passing uninitialized stack to addelem() if called with an empty arg.emaste2012-08-291-2/+2
* Spelling fixes for bin/uqs2012-01-071-1/+1
* No need in procfs(5).trociny2011-11-221-21/+0
* Make ps(1) automatically size its column widths.trasz2011-09-291-30/+73
* Fix some typos under bin/uqs2011-05-221-1/+1
* Get rid of DSIZ; instead just call the sizing function if provided.trasz2011-04-121-3/+3
* Initialize the execfile argument to NULL instead of _PATH_DEVNULL. This allow...brucec2010-02-081-1/+2
* Add the -d switch to the usage message.brian2009-07-231-1/+1
* Remove redundant whitespacebrian2009-05-181-3/+2
* Add a -d option to ps to display descendant info with the output.brian2009-05-171-3/+129
* Remove unnessasary castkevlo2008-07-181-1/+1
* Teach ps(1) to parse pts TT values (i.e. '0', '1') for the -t flag.jhb2007-11-081-9/+23
* Introduce a way to make pure kernal threads.julian2007-10-261-1/+2
* - Move all of the PS_ flags into either p_flag or td_flags.jeff2007-09-171-2/+2
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-091-3/+3
* Use statfs instead of getmntinfo(). This will make the procfs checkscsjp2004-11-191-9/+6
* Currently if the user specifies -e and procfs is not mounted on /proc,csjp2004-11-141-0/+25
* Removed bitrot.ru2004-11-131-12/+2
* Improve checking for `ps -t <dev>', and give better error messages whengad2004-06-271-8/+16
* Fix a bug I introduced by some last-minute changes in -r 1.102. I endedgad2004-06-241-1/+1
* Rework the logic for `-t <tty>', such that it accepts "ttyp0" and "console",gad2004-06-241-15/+43
* Change "struct varent" to use the standard queue(8) macros, instead ofgad2004-06-231-7/+7
* Add a check for defunct processes in saveuser(), so the output for "args"gad2004-06-231-10/+18
* Include the `-c' option in the usage() message.gad2004-06-231-1/+1
* In the sorting routine, sort by thread-id if two processes have the same PID.gad2004-06-231-0/+2
* Have the main() routine calculate %CPU and (if needed) memory informationgad2004-06-201-36/+29
* Try to change the isdigitch() macro to something that Bruce won't rollgad2004-06-011-3/+3
* A few more style-fixes from Bruce. The only non-cosmetic changegad2004-06-011-16/+9
* Since I'm not ready to add the non-standard ADD_PS_LISTRESET feature,gad2004-06-011-26/+1
* Make a few style-istic improvements to the previous commits.gad2004-06-011-16/+15
* Fix so `ps' catches and complains about null-values specified for agad2004-06-011-3/+8
* Additional tiny adjustment to kludge-option processing so `ps t p0'gad2004-06-011-6/+7
* Rewrite the kludge-option processing to improve how it handles a fewgad2004-06-011-62/+91
* Add the 'sid' info to the output of `ps -j', to make up for the 'sess'gad2004-05-231-1/+1
* Fix the kludge-old-options processing so `ps tpt' will be treated thegad2004-05-231-4/+5
* Change `ps' to use the KERN_PROC_RGID and KERN_PROC_SESSION optionsgad2004-05-221-8/+5
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
* Drop the include of <stdint.h>, since r1.84 removed references of intmax_t.gad2004-04-041-1/+0
* Add back the `-e' option, which was mistakenly dropped when cleaninggad2004-04-041-1/+1
* Give a name of 'l' (list) to the union in struct listinfo. This isgad2004-04-041-28/+30
* Switch to using strtoul() for parsing a potential UID or GID, which getsgad2004-03-301-9/+8
* Bruce would really like the prototype for fmt() to be split across linesgad2004-03-301-1/+2
* Minor style fixes, mostly adding indent-protection on some comment-blocks.gad2004-03-301-6/+6
* Replace pscomp() with a cleaner version, mostly written by bde (*).gad2004-03-301-14/+43
* Oops. Remove some ';'s in #defines added by a previous update.gad2004-03-291-2/+2
* Have this source explicitly include <sys/proc.h>, since it referencesgad2004-03-291-0/+1
OpenPOWER on IntegriCloud