Commit Graph

32 Commits

Author SHA1 Message Date
mycroft
7fb9269e92 DTRT if e_wmesg is not NUL-terminated. 1997-03-19 05:45:27 +00:00
mycroft
827a9bc80d DTRT if e_login is not NUL-terminated. 1997-03-19 05:34:47 +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
explorer
b59a6a8b5f return 0.0 cpu usage for zombies. closes pr bin/2693. Perhaps this should
be fixed in exit, so p->p_pctcpu is cleared when the process exits.
1996-08-15 01:41:23 +00:00
explorer
e0b43395ad include <pwd.h> for one function (user_from_uid) and correct one
%*d -> %*ld in a format string.  (yes, trying to find the problem with
ps wwwwwwwww1 and core dump, and might as well clean up while here)
1996-07-13 06:58:33 +00:00
cgd
9b497abb6f add code to convert from INT32 and UINT32 to native types. 1995-09-29 21:58:12 +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
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
3a23f31a10 Avoid an extra (gratuitous) pass through strvis(3). 1995-05-18 15:27: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
cgd
49f0ad8601 convert to new RCS id conventions. 1995-03-21 09:01:59 +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
deraadt
8f25fc60d3 kill UPAGES 1994-11-03 04:33:17 +00:00
deraadt
5e6898c083 NBPG -> getpagesize() 1994-09-15 02:00:34 +00:00
pk
e42d6feaa0 No more P_NOSWAP/P_PHYSIO. 1994-06-16 19:30:50 +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
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
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
cgd
a27ee16690 make ps do something more sensible with zombie processes 1993-06-02 22:02:27 +00:00
cgd
35644dc153 fix more-or-less-uninitialized variable... 1993-06-01 02:33:35 +00:00
cgd
6ed1026d12 add support and documentation for the 'e' option, to print out
the process environment.
1993-06-01 01:38:28 +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