Commit Graph

74 Commits

Author SHA1 Message Date
ad
5cd8715136 Formatting nits. 1999-07-30 16:08:59 +00:00
veego
03fd106af5 According to the previous commit the new process state should be SDEAD and
not SDYING, so s/SDYING/SDEAD/.
1999-07-23 08:56:13 +00:00
thorpej
3586621927 Update for SDEAD. 1999-07-22 18:16:05 +00:00
mjl
d278ba3869 Enlarge disk names in labels from 3 to 7 to cater for things like raid0. 1999-06-29 18:14:15 +00:00
itohy
5bebc476c6 Fix CPU percentage of "systat ps".
Yes, the name of the member "pt_pctcpu" is confusing :-).
Use double instead of float.
1999-06-19 05:35:14 +00:00
ad
00116cf582 Add 4 new modes: ip, icmp, tcp, tcpsyn. XXX still some work to be done
on aesthetics and update modes.
1999-05-30 20:26:20 +00:00
lukem
3d538e05b6 also install as `sysstat'.
rationale: `nfsstat' is not `nfstat', and
other systems have a `sysstat' but not a `systat'.
1999-04-29 15:00:21 +00:00
ross
c28735c5a8 Kill incorrect const in previous. 1999-04-24 23:54:56 +00:00
ross
ef4ee3d458 Functional LP64 and type sanity fixes. 1999-04-24 23:36:36 +00:00
simonb
8ac2197100 Add an __RCSID. 1999-04-22 03:40:46 +00:00
mrg
d2397ac5f7 completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
garbled
9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
bgrayson
394d687b13 Minor printf mod, for when we print a 3-digit value, and the next update prints only two (leaving the last stale digit showing) 1999-03-04 03:02:02 +00:00
jwise
2dada8cc9b Document the new `ps' view. 1999-02-21 21:55:10 +00:00
jwise
cfb46b6f4c Add a new `ps' view to systat, which shows process information. This
view is identical to the output of `ps aux' except that a.) the RSS and VSZ
fields are one character wider and b.) it shows a zero value for the RSS
and %MEM columns of processes which report a negative RSS.
1999-02-21 21:48:07 +00:00
jwise
063b11670a Add cross-references from eaach of these too the other. Note that top.1
is still in old man format.  Do we want to translate this to mandoc?  I
assume no, as this would make imports hard, so I didn't, but I'm not sure
what the best way to do this would be.
1999-02-19 18:44:58 +00:00
jwise
7e6a90d4b9 Show pid as well as user name and command in pigs view. Makes hopping to
another window and killing the errant process (or even just distinguishing
it from like processes) rather easier.
1999-02-19 04:59:00 +00:00
mrg
6efa5f3017 swap areas are not compiled into the kernel, from erik bertelsen, PR#6892 1999-01-28 03:28:53 +00:00
marc
e803638497 since the return from swapctl can change from call to call, print the
"Disk" column each time.  Also, use sep->se_path, not
devname(sep->se_dev).
1998-12-26 07:05:08 +00:00
marc
a97b85feaf display the seconds in the timestamp in the corner, too. 1998-12-26 06:38:42 +00:00
christos
24a4a811e5 char -> unsigned char 1998-12-19 22:26:13 +00:00
drochner
09eb0ffc9c avoid integer overflow in free memory report 1998-12-19 14:34:40 +00:00
mycroft
33360720ab Add missing braces, so PUTRATE() works correctly as an if clause. 1998-12-06 16:53:44 +00:00
ross
f670fa10c5 Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
mycroft
28beaae04f const propagation. 1998-07-28 21:25:35 +00:00
drochner
b2058e2f38 Fix handling of privileges - the gid was given up before dkinit()
was called.
Pass the gid to use for KVM access explicitely to dkinit(), the caller
decides whether to call setgid(getgid()) or not.
1998-07-19 17:47:07 +00:00
mrg
47abaab886 - KNF
- use snprintf
- don't overwrite the keyboard buffer (and make this sized on
  the window size).
1998-07-12 05:59:00 +00:00
mrg
2beab49a06 - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
mycroft
1458227184 Fix pasto. 1998-05-17 18:18:18 +00:00
mycroft
746eb495af Don't display %cpu for zombies. It never decays, and makes the results look
odd.
1998-05-17 17:18:28 +00:00
kleink
7fd3999c5e No need to include <sys/socketvar.h>. 1998-04-02 11:18:25 +00:00
jtc
9a0063c6d6 Simply include -lcurses instead of -lcurses -ltermcap 1998-02-18 22:47:41 +00:00
perry
ba7b5f16ff add -DPMAP_NEW if PMAP_NEW is on in mk.conf 1998-02-18 03:54:58 +00:00
mrg
45eb2a7d5d clean up memory totals in UVM case. 1998-02-09 15:29:52 +00:00
mrg
7bd27d00fd make "systat vmstat" much much much more UVM friendly. 1998-02-09 14:14:43 +00:00
mrg
279ce528ce add -DUVM to CPPFLAGS if defined(UVM) 1998-02-09 06:25:15 +00:00
mrg
e42b5e70e3 build and run with -DUVM. this isn't yet finished but it does run and partially work. 1998-02-07 14:08:23 +00:00
lukem
8ba07ab0b3 use CPPFLAGS instead of CFLAGS 1997-10-24 09:00:17 +00:00
lukem
9ccb9cd874 fix .Nm usage, deprecate register, getopt returns -1 not EOF, s/[br]*/[ms]*/ 1997-10-19 23:36:20 +00:00
kleink
66105c37fc Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
use SEEK_SET/SEEK_CUR/SEEK_END instead.
1997-08-25 19:31:43 +00:00
mrg
d2be95ea7e update "systat vmstat" documentation to reality. 1997-07-25 01:59:42 +00:00
mrg
9fb5074a33 get at least *part* of "systat vmstat" right... 1997-07-25 01:15:09 +00:00
mrg
5941399374 - some KNF.
- use __RCSID().
- WARNS=1
1997-07-21 07:04:56 +00:00
mrg
cd53f1ab76 WARNS?=1 1997-07-21 07:03:52 +00:00
mrg
1e987690a8 - some KNF.
- use __RCSID().
- WARNS=1
- use swapctl(2), rather than grovelling KVM.
1997-07-21 07:03:15 +00:00
jtc
8fd3f56f2c Use the new getmaxx and getmaxy macros instead of directly accessing
the private fields of WINDOW.
1997-05-24 00:48:24 +00:00
gwr
10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr
012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
mikel
53704bc733 erase old Xs when printing new ones for swap usage; from Paul Boven in
PR bin/3431 with some changes by me.
1997-04-03 06:07:40 +00:00
explorer
a030e0a1ae Message buffer passed to kvm_openfiles() should _POSIX2_LINE_MAX long; PR#3266 1997-03-03 22:12:19 +00:00