Commit Graph

36 Commits

Author SHA1 Message Date
simonb ba632e7078 Use the vm.uvmexp2 sysctl. 2000-11-29 11:18:33 +00:00
mrg 8d4795719a remove include of <vm/vm.h> 2000-06-29 06:26:33 +00:00
perry 79b8558eac include sys/sched.h to get definition of CPUSTATES 2000-06-04 01:38:52 +00:00
fvdl 3ff53c6c24 ANSIfy function prototypes and definitions. 2000-06-03 18:58:22 +00:00
fvdl 015c3c107d Oops, remove debugging printf. 2000-06-03 18:43:10 +00:00
fvdl ed2c47f74f Adapt for new RPC interface. 2000-06-02 23:20:18 +00:00
simonb 6c872090f0 The cp_time array has had 5 members since 1994 - show them all in debug
output.
2000-05-29 11:30:30 +00:00
bgrayson 085184c276 Avoid an open-file leak when not inetd-spawned: only call kvm_openfiles() once 1999-03-25 08:07:47 +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
kleink 3ed4fcf61e In userland, pull in <errno.h> instead of <sys/errno.h> for the declaration
of errno.
1999-01-11 22:39:59 +00:00
perry bfd526219d bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-10 02:57:23 +00:00
drochner 017037d6b1 adapt to changed dkinit() in ../../usr.bin/vmstat/dkstats.c 1998-07-19 17:48:15 +00:00
mrg 984d89b066 use static int, not just static 1998-03-30 01:53:45 +00:00
mrg b788ab7665 use sysctl for "kern.boottime" over kvm_read 1998-02-12 05:27:51 +00:00
bad 8a0d3fa9d7 Make this compile with -DUVM. 1998-02-11 17:27:37 +00:00
mrg f1d37094a5 make this work in the -DUVM case. 1998-02-07 12:04:37 +00:00
mrg a5a68ff5f2 WARNS?=1. RCS ids. 1997-10-07 11:28:16 +00:00
fvdl 6ca80cfb1e Make sure that the last fields in the transmitted stat structs are set
correctly. PR 809, from Jarle Greipsland
1997-07-19 20:25:44 +00:00
thorpej b817db1eaf Fix reporting of disk statistics that's been broken since new disk
framework went in.  From Jarle Greipsland <jarle@runit.sintef.no>, PR #3200.
1997-02-22 01:41:34 +00:00
cgd d09d0bdcc7 disable use of dk_xfer since it's no longer in the kernel. eventually,
this should be updated to use the new disk statistics structures, but it
would be good if there were an efficient way to get them from the kernel
before that's done.  Also, while here, terminate nlist struct array with
an entry with a NULL name, not the name "".
1996-10-01 04:01:52 +00:00
thorpej 176865a07b RCS id police. 1996-08-30 20:15:06 +00:00
ragge 5005458ad0 Removed a couple of "ifdef vax" that caused rstatd not to work. 1996-03-10 15:24:20 +00:00
pk 4a5c9a20e5 Use `xdrproc_t' to declare xdr_{args,result}. (takes care of PR#1182). 1995-07-09 00:30:11 +00:00
pk fed935eb9a Conform to rpcgen generated prototypes. 1995-06-24 15:57:18 +00:00
cgd fe84ea21f6 update for new network queues 1995-06-19 21:59:31 +00:00
mycroft 48bf1a7fe0 Fix error messages. 1995-01-13 19:37:52 +00:00
cgd b54e75897f be a bit more careful with types, casts, and and function declarations. 1994-12-23 14:29:31 +00:00
pk 7cb090d9a7 Use new kvm interface (fixes bug 253)
Also, use the crummy protocol's idea of CPU times.
1994-05-25 19:40:40 +00:00
cgd 00b7161e8e more #undefs to get it to compile! perverted 1994-05-14 22:12:06 +00:00
cgd 6fb7527ea2 sum -> cnt 1994-04-15 03:21:24 +00:00
cgd 86be4d6208 long cast 1994-04-01 03:29:58 +00:00
mycroft 570159be38 Eliminate a compiler warning. 1993-12-07 09:09:12 +00:00
jtc 59e456d7fd Make sure we use rstat's protocol's values of FSCALE. We were picking up
the FSCALE from sys/param.h which caused our load averages to be sent
incorrectly to remote machines.
1993-09-23 18:42:39 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
brezak 48b719546c Fix number of args to svcerr_progvers() 1993-06-09 19:54:03 +00:00
brezak e715315160 Add rpc.rstatd, rpc.rusersd, and rpc.rwalld. 1993-06-03 19:26:09 +00:00