summaryrefslogtreecommitdiff
path: root/bin/ps/ps.c
AgeCommit message (Expand)Author
2001-12-20Sync getopt() / man page with actual getopt options.soren
2001-11-03fix minor WARNS=2lukem
2001-07-30Remove duplicate `if'. Noted by Geoff C. Wing in bin/13551.wiz
2001-07-20Add a small optimizetion in savevars(). break out of the loop once needcommmatt
2001-06-14If there were no processes to list, it meant that our criteria failedcyber
2000-06-16Don't check namelist when choosing to use the sysctl interface.simonb
2000-06-08Fix handling of "ps U<user>" where <user> ended it 't' - now if thesimonb
2000-06-07Calculate field widths on the fly so that all columns line up nicelysimonb
2000-05-26Use new sysctl/kvm interfaces. This will stop the "proc size mismatch"simonb
2000-04-29If ps cannot get the terminal size from STDOUT, it tried STDERR and STDIN.abs
2000-04-15Use tty "?" to select processes with no controlling tty and tty "-" tosimonb
2000-04-10make -M imply -K. the current system is not likely to bechs
1999-12-04Document -U switch (displays processes belonging to given user/uid).hubertf
1999-12-03"ps -e" only shows the environment for the processes owned by thesimonb
1999-11-09Since our gcc doesn't warn about NULL format strings anymore, we candrochner
1999-10-15command(): don't start using procfs_getargv() instead of kvm_getargv()jdolecek
1999-10-15getkinfo_kvm(): fix bug in previous - handled size_t i as if it would be signedjdolecek
1999-10-15When using the procfs for extracting process information, extractjdolecek
1999-03-27Minor fixes:bgrayson
1999-03-26Added experimental fallback /proc-based lookup. Warnings are printed when thebgrayson
1999-01-04Fixed segfaulting for "ps -T". There is no optarg with -T, so instructionskim
1998-07-28Add a -U option to select by user/uid.mycroft
1998-07-28Be more retentive about use of NOTREACHED and noreturn.mycroft
1998-07-28Delint.mycroft
1998-07-27__AUDIT__ cleanup.mycroft
1998-07-06- change setgid kmem programs (that lend themselves to this) so setegid(getgi...mrg
1997-09-14getopt returns -1 not EOFlukem
1997-07-20Fix compiler warningschristos
1997-04-21note that strcpy is safe.mrg
1997-02-28Message buffer passed to kvm_openfiles() should _POSIX2_LINE_MAX long; PR#3266pk
1996-09-27Fix SEGV when kludging old-style options.thorpej
1995-05-18Create and strvis(3) the argument and environment lists only as needed.mycroft
1995-05-18Gather the argument and environment lists when we actually want to print them.mycroft
1995-03-21convert to new RCS id conventions.cgd
1994-09-16Integrate `-c' option, from Arne Juul.mycroft
1994-05-09clean up importcgd
1994-05-05update for changed flagscgd
1993-10-07fix from Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>:cgd
1993-08-01Add RCS identifiers.mycroft
1993-07-19from Brian Somers <brian@awfulhak.demon.co.uk>:cgd
1993-07-11fix alien 'w' handling. you really don't want to know...cgd
1993-06-01add support and documentation for the 'e' option, to print outcgd
1993-03-23changed "Id" to "Header" for rcsidscgd
1993-03-22added rcs ids to all filescgd
1993-03-21after 0.2.2 "stable" patches appliedcgd
1993-03-21initial import of 386bsd-0.1 sourcescgd