summaryrefslogtreecommitdiff
path: root/bin/ps/ps.c
AgeCommit message (Expand)Author
2006-04-25various small lint cleanups; ok ottoTheo de Raadt
2004-11-24on MP machines, in STAT field, add /# where # is the cpu number so thatTheo de Raadt
2004-09-14remove unused variableTheo de Raadt
2004-02-24- `C' before `c'Jason McIntyre
2004-02-08'ps' should not act like 'ps a'. Resolves PR 3676.Otto Moerbeek
2004-02-04(uid_t) -1 is a valid uid, so do not use it as a flag.Otto Moerbeek
2004-01-08Convert to kinfo_proc2. The sort order for -u and -m will be differentTodd C. Miller
2003-07-29spacingTheo de Raadt
2003-06-11ansification, art okTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-15mix of tdeval and my string cleaningTheo de Raadt
2002-06-12unused variableArtur Grabowski
2002-06-09Fix the start time on sysctl kvm.Artur Grabowski
2002-06-08Use KVM_NO_FILES and remove the setgid.Artur Grabowski
2002-04-06Fix a typo and sync usage() with man page; Brian PooleTodd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-01-30right, just check more for nulls; from Dan Harnett <danh@wzrd.com>Michael Shalayeff
2002-01-30always check for kvm_openfiles failure; pointed out by juan@coredump.com.ar i...Michael Shalayeff
2001-09-27If kvm_openfiles() fail the systctl() should work.Mike Pechkin
2001-09-06o) __progname aria;Mike Pechkin
2001-06-03Use kern.nprocsAngelos D. Keromytis
2001-06-03Use sysctl to get process information, if kvm has not been initializedAngelos D. Keromytis
2001-04-17Missing bits from last commit here; kstailey@disclosure.comTodd C. Miller
2001-04-17Updated version of last patch from kstailey@disclosure.com.Todd C. Miller
2001-04-15Randomized PIDs uglifies "ps -ax" output since it sorts on tty thenTodd C. Miller
2001-02-05[-] outside bracesTheo de Raadt
2001-02-05extra - in usage tooTheo de Raadt
2000-06-18Mark kernel threads as system processes. Make ps hide them by default,Niklas Hallqvist
2000-04-16correct getoptEric Jackson
1999-06-21stop casting the third argument to kvm_read to char *. it is a void *.Artur Grabowski
1999-04-28Implement -U <username> option from FreeBSD. Original code by Peter Wemm.Alex Feldman
1998-07-08whack kmem gid after kvm_openfiles()Theo de Raadt
1997-08-04toast non-NEWVM code; freebsdTheo de Raadt
1997-06-13return 1 if the process does not exist.michaels
1996-12-22Deal with _POSIX_SAVED_IDS when relinquishing privilegesThorsten Lockert
1996-12-14-Wall'ing.Michael Shalayeff
1996-08-06_POSIX2_LINE_MAX errbuf for kvm_openfiles()Theo de Raadt
1996-08-02zap getopt() case of -?, come on, it is the default!Theo de Raadt
1996-06-23update rcsidTheo de Raadt
1996-06-16allocate large enough buffer; netbsd pr#2550; gsstark@mit.eduTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt