summaryrefslogtreecommitdiff
path: root/bin/ps
AgeCommit message (Collapse)Author
2007-09-01malloc(n * m) -> calloc(n, m); from zinovikTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29- consistent STANDARDS blurbJason McIntyre
- note which options are extensions to POSIX discussed w/ deraadt otto millert
2007-04-13Userland gets 7 chars of wchan, not 6; noticed by thib@Miod Vallat
ok mickey@ otto@
2006-11-29Do not test for processes being swapped out since this can't happen anymore.Miod Vallat
2006-11-02overhaul the keywords section;Jason McIntyre
2006-11-01-.Xr sh 1 ,Jason McIntyre
2006-11-01some minor adjustments to the options list;Jason McIntyre
2006-11-01+.Ex -std psJason McIntyre
2006-11-01- no need for double markupJason McIntyre
- prefer .Sq for single letters
2006-11-01give FILES a bit of space;Jason McIntyre
2006-11-01note that -L may not be specified with other options;Jason McIntyre
2006-11-01simplify synopsis and sync usage();Jason McIntyre
2006-10-16The session field is a pointer and so should be 8 chars forTodd C. Miller
32-bit CPUs and 16 chars for 64-bit ones. Also, left-justify the state field name to match the justification of the state data. OK jmc@
2006-05-02Format nicelevel relative NZERO as other tools do.Hugh Graham
Surely, says millert.
2006-04-25various small lint cleanups; ok ottoTheo de Raadt
2006-03-10add missing break; found by lintMoritz Jodeit
ok deraadt@
2006-03-101.36 and onwards did not print extra spaces, but sometimes skipped spaces.Theo de Raadt
we need a proper flag to keep track of space insert requirements thanks for further testing by millert
2005-09-06make some of the stat utility pages reference each other;Jason McIntyre
idea from a mail to misc@ from simon dassow;
2005-07-06Only print a space separating argv and the real command (in parens)Todd C. Miller
when argv is non-NULL and empty. OK deraadt@ and fgsch@.
2005-07-01use a standard format for EXAMPLES;Jason McIntyre
2005-01-14bring back the space before (cmd); ok millert aaronTheo de Raadt
2005-01-07avoid negative memory sizes, ok deraadt@Otto Moerbeek
2004-12-20Don't print an unnecessary trailing space character at the end of commandAaron Campbell
argument display. This makes it easier to grep ps output for 'foo$', instead of having to use 'foo *$'. millert@ ok
2004-11-24remove obsolete `A' from `state' example;Jason McIntyre
ok millert@
2004-11-24on MP machines, in STAT field, add /# where # is the cpu number so thatTheo de Raadt
you can see processes move around; ok pval millert
2004-11-18handle SONPROC; ok aaron, deraadt, krwMarkus Friedl
2004-09-14remove unused variableTheo de Raadt
2004-09-14rename internal uname() to euname() to avoid libc conflictTheo de Raadt
2004-06-20Fix description of the cpuid keyword. The current wording is misleading sinceAaron Campbell
the CPU ID *can* be 0 on SMP systems (meaning the first processor). miod@ ok
2004-06-11doc cpuidTheo de Raadt
2004-06-11export cpuid via kproc2, and make ps & top aware... from niklasTheo de Raadt
2004-05-25.Xr pgrep(1) and pkill(1);Jason McIntyre
stolen directly from Garance A Drosehn's -r1.78 FreeBSD commit;
2004-03-17add references to procmap(1) in SEE ALSO;Jason McIntyre
suggested by tedu@
2004-03-16add fstat(1) reference to SEE ALSO;Jason McIntyre
suggested by Drew Einhorn;
2004-02-24- `C' before `c'Jason McIntyre
- replace `<' and `>' - sync usage()
2004-02-08'ps' should not act like 'ps a'. Resolves PR 3676.Otto Moerbeek
ok tdeval@ millert@
2004-02-04(uid_t) -1 is a valid uid, so do not use it as a flag.Otto Moerbeek
From Joris Vink <nimadeus at pandora dot be> with tweaks from me. ok tdeval@ hshoexer@ henning@
2004-01-08Convert to kinfo_proc2. The sort order for -u and -m will be differentTodd C. Miller
due to a bug fix in the sort routine.
2003-12-16typo; mjc@bitz.caTheo de Raadt
2003-10-20memoryuse -> memory usage; from Jared YanovichJason McIntyre
ok deraadt@
2003-10-17Xr dev_mkdb(8); from Tyler R. Retzlaff (NetBSD PR 23168);Jason McIntyre
ok deraadt@
2003-09-26free(NULL) is validTheo de Raadt
2003-09-24realloc fixes; ok ho matthieuTheo de Raadt
2003-07-29spacingTheo de Raadt
2003-07-02missing protosTheo de Raadt
2003-06-25protosTheo de Raadt
2003-06-11ansification, art okTheo de Raadt
2003-06-11license was lost; it is from print.cTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.