summaryrefslogtreecommitdiffstats
path: root/bin/ps/ps.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Since "kp" is a pointer, I should be comparing against NULL not 0.gad2004-03-291-1/+1
* Various style improvements, mostly in comments and indentation.gad2004-03-291-43/+58
* In the routines I've been working on, sort the variable declartionsgad2004-03-291-9/+9
* Split two 'fmt' strings so they're easier to read on 80-char windows.gad2004-03-291-2/+4
* Sort the declarations of global variables.gad2004-03-291-24/+25
* Sort the routine prototypes.gad2004-03-281-10/+9
* If <x> is a process id that does not exist, then just print the headergad2004-03-281-1/+1
* If a non-existent user is given as part of `-U userlist', treat it asgad2004-03-271-11/+6
* Explicitly wrap two long-ish linesi of code, to make them easier to read.gad2004-03-271-2/+4
* Change the #if-ish logic which is used to add the `-f' option when `ps'gad2004-03-271-9/+9
* Move the 'f' case so it shows up in the right place, alphabetically.gad2004-03-271-6/+6
* Support more POSIX/SUSv3 options:gad2004-03-271-181/+525
* Fix 'ps -p proclist' and 'ps -u userlist' so the command returns non-zerogad2004-03-181-3/+13
* Improvements to 'ps -p <x>'. If <x> is a process id that does not exist, thengad2004-03-171-19/+99
OpenPOWER on IntegriCloud