Commit Graph

59 Commits

Author SHA1 Message Date
cgd
ca9f3b6e66 add INT32 and UINT32 variable type specifiers. some of the variables
that are printed are of fixed size.
1995-09-29 21:57:03 +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
8936958f57 typeof(timeval.ts_sec) != time_t 1995-06-07 16:29:30 +00:00
mycroft
d91f14cba8 If there is another field after the command, fill in the command field with
blanks.
1995-05-25 04:13:17 +00:00
mycroft
02513843ae Simplify this just a little. 1995-05-25 03:14:37 +00:00
mycroft
8465d5c10c Split out some helper functions again. 1995-05-21 13:38:25 +00:00
mycroft
3541700d61 Create and strvis(3) the argument and environment lists only as needed.
Do not keep extra copies around.
1995-05-18 20:33:20 +00:00
mycroft
3cd42e791d Do the right thing for an empty environment. 1995-05-18 15:35:59 +00:00
mycroft
3a23f31a10 Avoid an extra (gratuitous) pass through strvis(3). 1995-05-18 15:27:31 +00:00
mycroft
d70850c69c Gather the argument and environment lists when we actually want to print them. 1995-05-18 14:37:03 +00:00
cgd
fe9be699b4 add a 'holdcnt' keyword and document it. 1995-05-08 23:11:31 +00:00
cgd
630b3b093b add the ability to understand and print INT and UINT-sized variables. 1995-05-08 22:39:24 +00:00
pk
e9b36a55e7 Sync process flags with sys/proc.h 1995-05-07 12:51:25 +00:00
cgd
49f0ad8601 convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
mycroft
ddc6e993fc Better fix for the previous. 1995-01-08 07:01:36 +00:00
mycroft
3f1b5c3296 Fix oversight in previous change, when argument list is sort of empty. 1995-01-08 06:42:42 +00:00
cgd
6abb26e555 be careful with addresses. 1994-12-23 13:19:41 +00:00
cgd
5dad143982 from James Jegers <jimj@miller.cs.uwm.edu>: quiet -Wall, and squelch
some of the worst style errors.
1994-12-04 07:11:37 +00:00
mycroft
a99fc6c377 Format police. 1994-11-25 08:05:55 +00:00
deraadt
a583ccb069 print %MEM correctly 1994-11-25 07:01:11 +00:00
deraadt
8f25fc60d3 kill UPAGES 1994-11-03 04:33:17 +00:00
mycroft
07cdfa9cd1 Integrate `-c' option, from Arne Juul. 1994-09-16 22:23:29 +00:00
deraadt
5e6898c083 NBPG -> getpagesize() 1994-09-15 02:00:34 +00:00
jtc
1d1682d63c vmunix -> netbsd (PR #375) 1994-08-06 06:11:03 +00:00
deraadt
1a69335ad4 do not need -I/sys 1994-08-03 20:46:47 +00:00
mycroft
afb839bea0 Clean up deleted files. 1994-07-03 07:26:03 +00:00
deraadt
8b8caa9aa0 devname is in libc now 1994-07-03 07:25:57 +00:00
pk
e42d6feaa0 No more P_NOSWAP/P_PHYSIO. 1994-06-16 19:30:50 +00:00
pk
f7e4697f3d Declare devname(). 1994-06-16 19:29:45 +00:00
cgd
ad129cd0c4 kill extra space, save my sanity 1994-05-18 10:05:17 +00:00
pk
8fbf67e44a Restore "${DESTDIR}" in CFLAGS. 1994-05-17 08:58:29 +00:00
mycroft
8912a2daad Need devname.c. 1994-05-12 12:13:51 +00:00
cgd
4d1457ce4e clean up import 1994-05-09 03:31:07 +00:00
cgd
b15d84bab0 new ps, to match libkvm 1994-05-09 03:29:37 +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
cgd
90ef506be5 needs -lkvm, not -lutil 1994-01-28 00:23:41 +00:00
jtc
e04c8e0705 Fix spelling errors. 1994-01-11 02:10:48 +00:00
cgd
cd68b34ae6 fix from Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>:
don't try to display the resident text size; we can't do that anymore
1993-10-07 00:45:59 +00:00
mycroft
28f8a1de75 Fix library dependencies. 1993-08-14 13:02:21 +00:00
mycroft
d52b7872b8 Fix test for zombie process. 1993-08-14 12:30:04 +00:00
mycroft
8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
mycroft
b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft
cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
cgd
40194b0e50 from Brian Somers <brian@awfulhak.demon.co.uk>:
The kvm entry isn't updated for command unless 'time' is given,
therefore
	ps -o command
outputs blank lines [or, in NetBSD, seg faults]
	ps -o time,command
works.
1993-07-19 11:02:10 +00:00
cgd
4434a6ed53 fix alien 'w' handling. you really don't want to know... 1993-07-11 17:34:29 +00:00
cgd
ffc8450394 use strvis on the arguments and environment, so we don't end up in
sed and/or xterm-title-changing hell.
1993-06-18 09:32:27 +00:00
mycroft
d3bc70b6bb Don't need -I/sys. (Why was it here?) 1993-06-17 13:16:20 +00:00
mycroft
77f1922b02 Fix up FILES sections. 1993-06-13 23:06:41 +00:00