simonb
c2c9310515
Use some constants from <tzfile.h>.
2004-03-27 12:59:25 +00:00
simonb
abb3201747
Wrap some long lines.
...
Consisently use (void) in front of printf(...);
A few more white-space nits.
2004-03-27 12:44:08 +00:00
simonb
f43fbf8e69
Fix grammar in a comment.
2004-03-27 12:11:55 +00:00
simonb
53474900d5
KNF, ANSFify, de-__P, unC++ify, white space nits.
2004-03-27 12:09:28 +00:00
simonb
56be4f0202
Change the header for the "tty" keyword "TT" instead of "TTY".
...
Fixed POSIX.2 conformance problem mentioned in standards/11225 from
Ben Harris.
2004-03-27 11:48:31 +00:00
jrf
7800470e15
donlist_sysctl() was overwriting maxslp with vm.uspace. Changed
...
it to use uspace. See PR bin/23713, approved by christos@netbsd.org .
Thanks to joff@stchome.com for the submission.
2004-02-25 19:56:28 +00:00
wiz
85746c6759
Spell interrupt with two rs. From Peter Postma.
2004-02-24 15:16:04 +00:00
wiz
5fe648aa7a
Uppercase CPU where appropriate.
2004-02-13 09:55:24 +00:00
jdolecek
2cc036866c
g/c SDEAD
2004-01-11 18:55:33 +00:00
mjl
550c4966cd
Correct typo in page header for tpgid.
2003-12-16 14:26:46 +00:00
wiz
6c7baec4af
Add Xr for dev_mkdb(8), per PR 23168. Increase width in FILES section while here.
2003-10-16 10:00:54 +00:00
agc
b5b2954259
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
wiz
dba2557a54
More mdoc.
2003-04-16 09:19:35 +00:00
wiz
2df55409df
Update date for recent changes.
2003-03-17 08:15:07 +00:00
dsl
b44ef110a7
Support -ktt and -ktty, quote "tdev" in comment so table can be sorted.
2003-03-08 08:04:24 +00:00
christos
5998d3b278
XXX: cast tdev to INT32 instead of UINT32 so that that sorting works as
...
before [NODEV entries come first]
2003-03-08 06:46:22 +00:00
dsl
f24cb25605
- add keywords for utime, stime and ctime (output sss.ssssss if small)
...
- fiddle with keyword table - mainly to keep width under 80 cols
- add -k keylist so sort output
- don't use logs to work out field width, get -MAXINT right
- user defined headers can be 1 char (actually they can be zero length)
so ?? in tty column isn't guaranteed to be wider than header
- remove some long long casts (compiles on sparc64 still)
- use kvm_openfiles(NULL, NULL, NULL, KVN_NO_FILES, ..) unless core file
specified,
(approved by christos)
2003-03-06 09:04:21 +00:00
dsl
036e265716
- add keywords for utime, stime and ctime (output sss.ssssss if small)
...
- fiddle with keyword table - mainly to keep width under 80 cols)
- add -k keylist so sort output
- don't use logs to work out field width, get -MAXINT right
- user defined headers can be 1 char (actually they can be zero length)
so ?? in tty column isn't guaranteed to be wider than header
- use PRId64 to remove some long long casts
- use kvm_openfiles(NULL, NULL, NULL, KVN_NO_FILES, ..) unless core file
specified
(approved by christos)
2003-03-06 09:02:16 +00:00
dsl
a124f92ed5
Seems better to display p_sv{u,g}id when asked for it...
2003-03-03 23:13:21 +00:00
atatat
40f3045957
Add p_svuid and p_svgid to kinfo_proc2. Populate them in the kernel
...
and in libkvm. Then teach ps how to show them to you.
Also, teach ps how to show the names for all the uids, the rest of the
group numbers, and the "group access list".
2003-03-01 05:41:55 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
thorpej
3fdac2b8c5
Merge the nathanw_sa branch.
2003-01-18 10:52:16 +00:00
wiz
7e681f7063
interrupt with two rs.
2003-01-06 13:04:54 +00:00
itojun
68603e5242
correct use of format string (signedness, %ldd). PR 18679
2002-10-17 23:50:17 +00:00
wiz
f3e4defc56
Use more mdoc.
2002-10-01 15:11:08 +00:00
wiz
14dfaa4b03
New policy: New sentences start on a new line.
...
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
2002-09-25 15:18:36 +00:00
jdolecek
fc257046b9
g/c procfs fallback code, it's redundant now that we use sysctl to get
...
process info
2002-06-19 08:11:55 +00:00
wiz
c8c3c3fd5f
Sort SEE ALSO.
2002-06-17 16:55:05 +00:00
christos
d09016d45a
Document some missing flags and add systrace(1) 'x' flag.
2002-06-17 16:48:44 +00:00
nathanw
43634bc5ba
Since kinfo_proc2 has many values that are 64-bit, ps needs to know
...
that they're 64-bit, and grab them out of memory appropriately. Otherwise,
big-endian systems get the wrong end of the 64-bit value and lose.
Keywords affected: inblk, majflt, minflt, msgrcv, msgsnd, nivcsw, nsigs,
nswap, nvcsw, and oublk.
2002-04-24 21:41:22 +00:00
wiz
66a3e61375
"a, b, c, and d", not "a, b, c and d".
2002-04-24 08:58:33 +00:00
wiz
1932d50001
Drop trailing space.
2002-03-04 13:19:33 +00:00
ad
5a6b9d89df
Xref pkill/pgrep.
2002-03-04 13:02:32 +00:00
martin
f95cd5a968
Use int32_t for temporary variables (instead of long), that is the same
...
type as we get the data passed from the kernel. This avoids (missing)
sign extension bugs on LP64 systems and partly takes care of PR 15677.
We now print this values as negative seconds - still wrong, but that
probably is due to the simple way this values are acumulated in the
scheduler, causing negative times when ntpd steps time backwards.
2002-02-21 19:31:03 +00:00
enami
b127ec2616
Just use return value of strvis instead of calling strlen.
2002-02-14 06:57:19 +00:00
enami
4c30ea4ac5
Don't define variable as static unnecessarily.
2002-02-14 06:54:41 +00:00
ross
dc5571b22e
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:21:55 +00:00
jdolecek
ef1ec2419d
started(): don't assume that the field width is correct and recompute
...
it as needed
This fixes bogus output for cases like `ps -ao start=xx`, as reported by
Martin Macok of Undeground.cz on current-users@netbsd.org .
2002-01-21 23:01:55 +00:00
soren
dc53bf3cba
Sync getopt() / man page with actual getopt options.
2001-12-20 20:10:33 +00:00
wiz
8ee888f96f
Properly quote punctuation.
2001-12-20 20:06:15 +00:00
wiz
3ebcdc5e43
Whitespace nits.
2001-12-20 19:31:48 +00:00
lukem
b8a6769184
fix minor WARNS=2
2001-11-03 13:21:09 +00:00
lukem
725b21190a
fix comment: "[]" are [square] brackets, "<>" are angle brackets
2001-08-24 06:37:03 +00:00
enami
48661b973f
Print commands within angled brackets only if they are system processes.
...
Print other commands, like cc, cpp and as, within parentheres.
2001-08-24 01:48:22 +00:00
wiz
1e378c4c12
precede, not preceed.
2001-08-20 12:00:46 +00:00
christos
c91b59d1de
Print system processes/kernel threads as [kprocname] as top(1) does.
2001-08-07 14:46:09 +00:00
wiz
8c6310c4a3
Remove duplicate `if'. Noted by Geoff C. Wing in bin/13551.
2001-07-30 16:22:49 +00:00
matt
c6458f33d8
Add a small optimizetion in savevars(). break out of the loop once needcomm
...
is set since setting it multiple times only wastes cpu time.
2001-07-20 21:59:58 +00:00
matt
68b3b7e9c7
Retrieve maxslp & uspace from kernel instead of using defines. Needed for
...
shared arm code.
2001-07-14 06:53:43 +00:00
sommerfeld
d19e89a7c0
correct the description of paddr
2001-07-04 20:49:00 +00:00