summaryrefslogtreecommitdiffstats
path: root/bin/ps/ps.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Allow the -H option to show threads when selecting by uid, tty,deischen2004-02-221-8/+6
* Add the -H option to ps(1) to display all kernel visible threads in eachscottl2003-06-121-5/+12
* Display elapsed time (-o etime) using [[dd-]hh:]mm:ss, which according tocharnier2003-02-051-0/+1
* Per-variable\ entry headers, to allow the 'ps -otime -otime=FOO' or similarjmallett2003-01-191-1/+1
* When inserting a non-user-specified (e.g. not via -o or -O) format, don't dupejmallett2003-01-191-10/+22
* Use the MAC interface to list process MAC labels rather than usingrwatson2002-10-241-4/+2
* Prevent ps(1) from doing idiotic munging of things in a -ofmt= string.jmallett2002-09-031-1/+8
* - Use (MAXLOGNAME - 1) where UT_NAMESIZE was used to be able torobert2002-07-081-2/+1
* Consistently use FBSDIDobrien2002-06-301-3/+2
* Don't try to decode old-style options if the argv[1] begins with `-' and thesobomax2002-06-201-10/+28
* Use a global `now' variable for the current time, and initialise it atjmallett2002-06-061-0/+4
* Widen the scope of fmt.c::1.19 and consistently use errx(3) if malloc(3) [orjmallett2002-06-051-6/+4
OpenPOWER on IntegriCloud