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
itojun
f320afb26b
address PR 11653. checked on alpha.
...
XXX supports 32bit and 64bit pointers only
2001-01-08 13:20:29 +00:00
simonb
a98dd470c6
Calculate field widths on the fly so that all columns line up nicely
...
and make more effective use of screen real estate when some columns
(eg USER and VSZ) didn't need the full default width.
2000-06-07 04:57:59 +00:00
simonb
a717560d21
G/C evar() - now that everything is in the one structure it was exactly
...
the same as pvar().
2000-06-02 03:39:02 +00:00
simonb
fd521aefe9
Use new sysctl/kvm interfaces. This will stop the "proc size mismatch"
...
errors when internal kernel structures change size. Also remove
the sgid bit - all live kernel data is accessed through the sysctl
interface.
2000-05-26 03:04:28 +00:00
mjl
4ecbad3425
Fix problem in option processing, would segfault when parsing "-O,".
...
Closes PR/10096 by Yuji Yamano using the patch provided.
2000-05-11 08:52:30 +00:00
simonb
e7f8f72d9d
Since we have an "extern.h", put all external variable declarations in
...
that file and not sprinkled around various .c files.
1999-12-03 02:26:36 +00:00
drochner
85cbf55d16
Since our gcc doesn't warn about NULL format strings anymore, we can
...
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
1999-11-09 15:06:30 +00:00
mrg
d5c7180e2b
limit session to 6 chars. from Geoff Wing <gcw@pobox.com> and fixes his PR#7506
1999-05-03 00:17:30 +00:00
christos
f3d0eddcde
Add support for printing wide sigset_t properly.
1999-04-16 13:34:32 +00:00
thorpej
047098bc5c
Add a "sid" keyword to print the session ID.
1998-02-17 21:37:56 +00:00
mrg
79ddb78a38
remove old OLD BSD VM code.
1998-02-06 04:47:30 +00:00
christos
78295c8bc1
Fix compiler warnings
...
Add WARNS=1
1997-07-20 20:37:53 +00:00
ws
fddfc1d33f
Fix p_nice vs. NZERO code.
...
Remove some unnecessary casts.
Remove an unused time format field.
1996-10-02 18:07:20 +00:00
cgd
7514e04296
in findvar(), return after warning about unknown keyword so we don't
...
deref. a null pointer.
1996-05-30 21:16:32 +00:00
cgd
db6548cd7b
correct the sizes specified for various variables.
1995-09-29 21:58:59 +00:00
cgd
81a152541e
Kenneth Stailey pointed out that his previous fix was incorrect. RE and SL
...
should be bounded at 127, not 99.
1995-08-15 14:00:59 +00:00
cgd
731f8de0fa
as suggested in PR 1347, by Kenneth Stailey, make "RE" and "SL" fields
...
show up as two digits, max, displaying "99" if > 99. allow any field with
an unsigned value to be specified as printing that way (though right now
it's only used for RE and SL, which are both unsigned longs). This fix
is substantially different than that suggested in the PR.
1995-08-14 05:00:03 +00:00
cgd
fe9be699b4
add a 'holdcnt' keyword and document it.
1995-05-08 23:11:31 +00:00
cgd
49f0ad8601
convert to new RCS id conventions.
1995-03-21 09:01:59 +00:00
cgd
4d1457ce4e
clean up import
1994-05-09 03:31:07 +00:00
cgd
78be099528
struct element foo
1994-05-05 06:44:24 +00:00
cgd
25718695be
update for changed flags
1994-05-05 02:04:10 +00:00
mycroft
8542364e07
Add RCS identifiers.
1993-08-01 18:49:50 +00:00
cgd
06be60083d
changed "Id" to "Header" for rcsids
1993-03-23 00:22:59 +00:00
cgd
346aa5dd48
added rcs ids to all files
1993-03-22 08:04:00 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00