Commit Graph

71 Commits

Author SHA1 Message Date
agc 8e6ab8837d Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22284, verified by myself.
2003-08-07 09:46:37 +00:00
drochner 96b62d8a69 no need to #include <sys/dkstat.h> 2003-06-11 17:26:31 +00:00
hannken a775363fd5 Dont call gettimeofday on a rpc timeval.
This fails on sparc64 because rpc timeval elements are int
and timeval elements are long.
2003-03-09 10:33:04 +00:00
mrg c066bc7b3a update to new dkstats.c interface; no changes to how this program works.
pointed out by uwe@ in private email.
2002-11-02 01:59:24 +00:00
wiz d6285bbf1d Begin new sentences on new lines.
Patch from Robert Elz (kre at munnari oz au).
2002-09-29 14:05:52 +00:00
lukem bafe5da620 use bsd.own.mk instead of the (obvious typo of) bsd.obj.mk 2002-09-18 06:24:33 +00:00
lukem f794aa60bb Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path 2002-08-19 13:54:34 +00:00
augustss d904dc6dd8 Make it compile again (vmstat change fallout). 2002-01-28 13:10:01 +00:00
wiz c0196b8ad0 Whitespace nits. 2002-01-15 02:26:48 +00:00
simonb 0833efd07d Remove extern variables and functions now declared in dkstats.h. 2000-12-01 02:10:22 +00:00
simonb 80bd9216d2 ANSIfy. 2000-11-30 23:59:03 +00:00
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 5ce895dff6 Use sockaddr_storage in from_inetd check (call to getsockname()). 2000-06-03 20:36:30 +00:00
fvdl 3ff53c6c24 ANSIfy function prototypes and definitions. 2000-06-03 18:58:22 +00:00
fvdl 1e12f48a81 Use rpcb_unset, not pmap_unset. 2000-06-03 18:48:24 +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
chs 21eedb0ec1 the PMAP_NEW option is gone as the new interface is no longer optional. 1999-09-12 01:19:23 +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
bgrayson 3db12eddbc Added description of argv[1] value interval (rpc.rstatd doesn\'t use getopt) 1999-03-25 01:56:13 +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 f124765044 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:25:43 +00:00
mrg f2130fd9fd do not use LOG_CONS. 1999-01-31 08:51:53 +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
perry ba7b5f16ff add -DPMAP_NEW if PMAP_NEW is on in mk.conf 1998-02-18 03:54:58 +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 279ce528ce add -DUVM to CPPFLAGS if defined(UVM) 1998-02-09 06:25:15 +00:00
mrg f1d37094a5 make this work in the -DUVM case. 1998-02-07 12:04:37 +00:00
lukem e8cebc9784 use CPPFLAGS instead of CFLAGS 1997-10-22 05:55:52 +00:00
enami c44131f35b Fix .Nm usage. 1997-10-20 02:46:44 +00:00
mrg 2268d2dfb3 merge lite-2 Makefiles (rcsids), and turn on WARNS for all of libexec. 1997-10-08 09:07:11 +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
jtc 2d577aafd2 Install manpage as foo(8) as well as rpc.foo(8), a convenient shorthand.
Also make sure that foo and rpc.foo are mentioned in the NAME section.
1995-04-12 00:47:27 +00:00
mycroft 48bf1a7fe0 Fix error messages. 1995-01-13 19:37:52 +00:00
mycroft 002aa598e1 Correct calling sequence of getsockname(2). 1995-01-13 06:14:28 +00:00