Garance A Drosehn
8ed0d42fe4
Describe the sorting options in better and more complete detail.
...
Also improve the description of `-L' a little.
MFC after: 4 days
2004-03-31 23:51:12 +00:00
Garance A Drosehn
3dc91da529
Update the date on the man page, since this the previous change added
...
a few new options.
2004-03-27 18:26:40 +00:00
Garance A Drosehn
a4c8a745a8
Support more POSIX/SUSv3 options:
...
- Change `-p' to allow a list of process IDs, and `-t' to allow a list
of terminal names, instead of only a single value for each.
- Add the `-A' option of SUSv3, which is exactly the same as `-ax'.
- Add the `-G gidlist' (group id).
- Allow any of these "selector options" to be specified multiple times,
and have `ps' keep adding to a given list -- instead of replacing the
previously-specified values.
- Fix interactions between selector-options, so that: "If any are
specified, ... ps shall select the processes represented by the
inclusive OR of all the selection-criteria options." (from SUSv3)
- Add a `-X' option, which is the reverse of the `-x' option.
- various minor improvements in parsing and error handling.
This does not get us to match POSIX/SUSv3, but it gets us closer. The
`-g pgidlist', `-R ruserlist' and `-s sidlist' options mentioned in
freebsd-standards are still under debate, so they skipped for now.
It should be true that this introduces no user-visible incompatible
changes, except to support "new stuff" that was not supported before.
2004-03-27 18:22:17 +00:00
Ruslan Ermilov
f9a480abb1
Avoid the manpage layering violation and low-level implementation
...
details of libkvm, and just tell what the getbootfile(3) function
will return, by using the text from netstat(1) and dmesg(8).
2004-03-26 08:54:27 +00:00
Ruslan Ermilov
cd31922f27
- Remove references to /dev/kmem -- ps(1) utilizes the
...
sysctl(3) interface in kvm(3).
- Document the correct default when no -N is specified.
- Remove stale reference to /var/db/kvm_kernel.db.
- Remove stale reference to /var/run/dev.db.
2004-03-26 08:29:38 +00:00
Tim J. Robbins
b59ca66070
Document incorrect handling of multibyte characters.
2004-03-21 11:24:06 +00:00
Garance A Drosehn
4e8b6a6fb0
Improvements to 'ps -p <x>'. If <x> is a process id that does not exist, then
...
just print the header (if any) and exit, thus matching the behavior on -stable
and other OS's.
Also adds support for <x> being a comma-separated list of processes, and does
a much better checking for invalid-values of <x>, such as 'ps -p someword'.
Reviewed by: mentioned on freebsd-current
MFC after: 10 days
2004-03-17 22:46:58 +00:00
Colin Percival
bcf85d6737
Bring ps.1 up to date with changes in the past seven years:
...
* Remove mention of '>', 'A', and 'S' states
* Mention 'W' state.
* List 'J' state in the correct location.
* Sync with flags in sys/proc.h
Approved by: rwatson (mentor)
MFC after: 7 days
2004-01-21 16:25:36 +00:00
Ruslan Ermilov
fe08efe680
mdoc(7): Use the new feature of the .In macro.
2003-09-08 19:57:22 +00:00
Christian Brueffer
a54b88d830
Clarify that the 'state' information consists of characters, not
...
only letters (e.g. IWs+)
PR: 55221
Submitted by: Rich Morin <rdm@cfcl.com>
MFC after: 3 days
2003-08-05 10:31:28 +00:00
Scott Long
48b8c0de5a
Add the -H option to ps(1) to display all kernel visible threads in each
...
process. The default behavior of showing only the process is retained as
the default.
2003-06-12 16:53:55 +00:00
Philippe Charnier
c6e6912512
add section name to .Xr
2003-06-08 09:48:39 +00:00
Jens Schweikhardt
fbc8f8a2dc
Fix references to non-existing or obsoleted man pages.
...
PR: docs/51480 (only a small part)
Submitted by: Diomidis D. Spinellis <dds@aueb.gr>
2003-04-30 19:18:50 +00:00
Ruslan Ermilov
463cfa804d
Fixed the abuses of .Ql visible on stderr in troff mode.
...
PR: docs/37176
2002-12-23 16:04:51 +00:00
Robert Watson
2af538eb48
Use the MAC interface to list process MAC labels rather than using
...
the LOMAC-specific interface (which is being deprecated). The
revised LOMAC using the MAC framework will export levels listable
using this mechanism.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-10-24 00:00:57 +00:00
John Baldwin
0d6326492b
Catch up to SMTX -> SLOCK changes.
2002-10-02 20:33:52 +00:00
Tom Rhodes
7d971bbf29
s/filesystem/file system/ as discussed on -developers
2002-08-21 17:32:44 +00:00
Ruslan Ermilov
43cf90aa10
mdoc(7) police: whitespace nits.
2002-08-09 10:49:50 +00:00
Juli Mallett
7140a0e9f1
ps(1) appeared in v4
...
Submitted by: grog
2002-06-10 22:48:51 +00:00
Juli Mallett
a13d4e42c2
Note early appearence of some commands. These actually appeared in PWB, but
...
it seems we don't have a macro for that yet, so list them in the first UNIX
release since then that we have a .At for: v7.
2002-06-10 05:03:20 +00:00
Juli Mallett
2dda9fe910
Allow whitespace to act as a delimiter in the keywords list given to the -o,
...
again, but also allow it in the user-specified header, too. This is far more
backwards compatible and SUSv3-happy than allowing only comma to seperate the
keywords list.
Submitted by: tjr
2002-06-08 18:11:52 +00:00
Juli Mallett
50355bb408
Don't say that the list of formats can be space delimited, it no longer can be.
...
Mention that more than one -o will concatenate formats.
Submitted by: Jun Kuriyama <kuriyama@imgsrc.co.jp>
2002-06-08 05:47:46 +00:00
Juli Mallett
76e1a9fe48
Implement a SUSv3-ignorant but "time"-similar format for "etime", elapsed
...
run time (NOT cpu time). cputime() and elapsed() both need to honour SUSv3
now.
2002-06-06 21:18:37 +00:00
Juli Mallett
e8eef4bb45
Support the SUSv3 `rgroup' format.
...
Clean up some local style bogons.
2002-06-06 20:42:16 +00:00
Juli Mallett
033340171a
SUSv3 conform on the "comm" and "args" formats, and make correct the "command"
...
format, since it's BSDlike, and "comm" is actually different.
2002-06-06 20:21:47 +00:00
Juli Mallett
badfdad910
Refer to the command format by its SUSv3 name (comm), and list command as an
...
alias.
2002-06-06 18:10:12 +00:00
Tim J. Robbins
4f18100d73
Respect setting of the COLUMNS environment variable (SUSv3)
2002-06-04 10:20:10 +00:00
Josef Karthauser
d883e289b9
The sysctl has changed from 'kern.ps_showallprocs' to
...
'security.bsd.see_other_uids'.
2002-05-16 11:51:05 +00:00
Tom Rhodes
ebd4324457
Consistancy check s/file system/filesystem/
...
Reviewed by: brian
2002-05-16 01:57:20 +00:00
Josef Karthauser
1063e12617
Replace /kernel with /boot/kernel/kernel.
...
PR: docs/37757
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-09 11:47:42 +00:00
Philippe Charnier
e004acc891
Use `The .Nm utility'
2002-04-16 20:08:06 +00:00
Matthew Dillon
d9a5f8900a
Revert wchan functionality. Add 'mwchan' to supply new duel mutex/msleep
...
functionality and make it the default.
With additional improvements by: Mark Peek <mp@FreeBSD.org>
2002-02-21 18:27:16 +00:00
Dag-Erling Smørgrav
3ab6656108
Document the 'M' state.
2002-02-16 18:47:22 +00:00
Ruslan Ermilov
831c910a30
GC the -W option. kvm(3) doesn't read swap for almost 10 years.
...
PR: docs/34134
Reviewed by: bde, peter
MFC after: 1 month
2002-01-28 09:43:26 +00:00
Ruslan Ermilov
b5f8218042
mdoc(7) police: s/LKM/KLD/, sort xrefs.
2001-12-04 14:17:52 +00:00
Brian Feldman
7304f61f9e
Add LOMAC options (the "Z" flag in both cases) to display extra information
...
in ls(1) and ps(1).
Sponsored by: DARPA, NAI Labs
2001-11-26 22:21:15 +00:00
Ruslan Ermilov
caa2db3be9
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 10:04:09 +00:00
Dima Dorfman
7fa34c1180
Correct a typo.
...
Submitted by: Alexey V. Neyman <avn@any.ru>
2001-06-08 04:41:21 +00:00
Dima Dorfman
6b8212280b
Mention the kern.ps_showallprocs sysctl.
...
PR: 24804
Submitted by: Mike Meyer <mwm@mired.org>
2001-06-02 04:02:36 +00:00
Brian Somers
cdf6f0b1ae
Correct some markup
...
Submitted by: bde
2001-04-12 20:04:54 +00:00
Brian Somers
ff1b168b6e
Introduce -osid and -otsid
...
Submitted by: dd
2001-04-11 22:42:54 +00:00
Brian Somers
48b2c871df
Remove tsess for now.
...
This (and sess) may come back shortly.
2001-04-07 11:22:26 +00:00
Brian Somers
86aca2117b
Update documentation in line with what the code does
...
PR: 25435
Submitted by: dd
Forgotten by: mckusick
2001-04-07 11:16:41 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Ruslan Ermilov
12e720d78b
Prepare for mdoc(7)NG.
2000-12-15 17:37:31 +00:00
John Baldwin
9b67ac593b
Document the mtxname keyword.
...
Reviewed by: sheldonh
2000-11-30 19:17:56 +00:00
Ruslan Ermilov
be8b149795
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 11:39:41 +00:00
Chris D. Faulhaber
2d45aed6bc
Remove obsolete /dev/drum references
...
Reviewed by: alex, asmodai, billf
2000-10-29 12:19:52 +00:00
Brian Somers
cf22dcfc33
Support multiple (comma separated) names as arguments to -U
...
PR: 11051
2000-09-26 01:03:16 +00:00
Peter Wemm
2a4562393f
$Id$ -> $FreeBSD$
1999-08-27 23:15:48 +00:00