aboutsummaryrefslogtreecommitdiff
path: root/bin/ps
Commit message (Expand)AuthorAgeFilesLines
* Change the "rtprio" format so it prints an informative string forGarance A Drosehn2004-06-271-0/+3
* Improve checking for `ps -t <dev>', and give better error messages whenGarance A Drosehn2004-06-271-8/+16
* Fix a bug I introduced by some last-minute changes in -r 1.102. I endedGarance A Drosehn2004-06-241-1/+1
* Rework the logic for `-t <tty>', such that it accepts "ttyp0" and "console",Garance A Drosehn2004-06-241-15/+43
* Change "struct varent" to use the standard queue(8) macros, instead ofGarance A Drosehn2004-06-235-32/+25
* Add a check for defunct processes in saveuser(), so the output for "args"Garance A Drosehn2004-06-231-10/+18
* Avoid padding the value of "ucomm" when it is the last column in the line.Garance A Drosehn2004-06-231-1/+4
* Make sure the value of "upr" (scheduling priority on return from system call)Garance A Drosehn2004-06-233-3/+15
* Include the `-c' option in the usage() message.Garance A Drosehn2004-06-231-1/+1
* In the sorting routine, sort by thread-id if two processes have the same PID.Garance A Drosehn2004-06-231-0/+2
* Get rid of a cast to '(void) ' on the return of a call to strcpy.Garance A Drosehn2004-06-221-1/+1
* Oops. Undo that last 'const' change. It expects similar changes to someGarance A Drosehn2004-06-222-13/+11
* Add 'const' to a few places.Garance A Drosehn2004-06-222-11/+13
* When displaying the "COMMAND" field for system-processes and/or kernelGarance A Drosehn2004-06-222-1/+4
* Have `ps' return the cputimes for zombies, with the assumption thatGarance A Drosehn2004-06-211-1/+1
* Add the `-O emul' format option, which prints the name of the system-callGarance A Drosehn2004-06-203-0/+13
* From SUSv3:Garance A Drosehn2004-06-201-1/+1
* Add new output-format keywords of LWP and NLWP, which show the thread-idGarance A Drosehn2004-06-201-0/+8
* Have the main() routine calculate %CPU and (if needed) memory informationGarance A Drosehn2004-06-202-36/+31
* Try to change the isdigitch() macro to something that Bruce won't rollGarance A Drosehn2004-06-011-3/+3
* A few more style-fixes from Bruce. The only non-cosmetic changeGarance A Drosehn2004-06-011-16/+9
* Since I'm not ready to add the non-standard ADD_PS_LISTRESET feature,Garance A Drosehn2004-06-011-26/+1
* Make a few style-istic improvements to the previous commits.Garance A Drosehn2004-06-011-16/+15
* Fix so `ps' catches and complains about null-values specified for aGarance A Drosehn2004-06-011-3/+8
* Additional tiny adjustment to kludge-option processing so `ps t p0'Garance A Drosehn2004-06-011-6/+7
* Rewrite the kludge-option processing to improve how it handles a fewGarance A Drosehn2004-06-011-62/+91
* Add pgrep(1) and pkill(1) to the cross-reference section of ps(1).Garance A Drosehn2004-05-251-0/+2
* Add the 'sid' info to the output of `ps -j', to make up for the 'sess'Garance A Drosehn2004-05-232-2/+2
* Fix the kludge-old-options processing so `ps tpt' will be treated theGarance A Drosehn2004-05-231-4/+5
* Change `ps' to use the KERN_PROC_RGID and KERN_PROC_SESSION optionsGarance A Drosehn2004-05-221-8/+5
* Assorted markup fixes.Ruslan Ermilov2004-05-161-209/+227
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-068-32/+0
* Drop the include of <stdint.h>, since r1.84 removed references of intmax_t.Garance A Drosehn2004-04-041-1/+0
* Add back the `-e' option, which was mistakenly dropped when cleaningGarance A Drosehn2004-04-041-1/+1
* Give a name of 'l' (list) to the union in struct listinfo. This isGarance A Drosehn2004-04-041-28/+30
* Add spaces after flag names on .Fl macros.Garance A Drosehn2004-04-011-2/+2
* Describe the sorting options in better and more complete detail.Garance A Drosehn2004-03-311-6/+29
* Switch to using strtoul() for parsing a potential UID or GID, which getsGarance A Drosehn2004-03-301-9/+8
* Bruce would really like the prototype for fmt() to be split across linesGarance A Drosehn2004-03-301-1/+2
* Minor style fixes, mostly adding indent-protection on some comment-blocks.Garance A Drosehn2004-03-301-6/+6
* Replace pscomp() with a cleaner version, mostly written by bde (*).Garance A Drosehn2004-03-301-14/+43
* Oops. Remove some ';'s in #defines added by a previous update.Garance A Drosehn2004-03-291-2/+2
* Have this source explicitly include <sys/proc.h>, since it referencesGarance A Drosehn2004-03-291-0/+1
* Since "kp" is a pointer, I should be comparing against NULL not 0.Garance A Drosehn2004-03-291-1/+1
* Various style improvements, mostly in comments and indentation.Garance A Drosehn2004-03-291-43/+58
* In the routines I've been working on, sort the variable declartionsGarance A Drosehn2004-03-291-9/+9
* Split two 'fmt' strings so they're easier to read on 80-char windows.Garance A Drosehn2004-03-291-2/+4
* Sort the declarations of global variables.Garance A Drosehn2004-03-291-24/+25
* Sort the routine prototypes.Garance A Drosehn2004-03-281-10/+9
* If <x> is a process id that does not exist, then just print the headerGarance A Drosehn2004-03-281-1/+1