mycroft
7f79942c2d
select() -> nanosleep()
2002-09-18 23:18:44 +00:00
lukem
17d72c8a6b
use NETBSDSRCDIR as appropriate
2002-09-18 03:54:26 +00:00
sommerfeld
f80c7eebd7
Since the KERN_CP_TIME sysctl reports total clock ticks across all
...
cpus and hz is measured in ticks per cpu, divide tick count by ncpu to
determine elapsed time since last sample.
Fixes I/O rate deflation observed on multiprocessors.
2002-06-30 00:10:33 +00:00
simonb
c9e9cab056
We don't need the code to discard setgid privileges if we aren't setgid!
2002-05-22 13:12:27 +00:00
jmc
1347ab1b90
Remove check for sparc64 which adds -msoft-quad-float as that is now the
...
default for the compiler on sparc64.
2002-03-28 09:58:09 +00:00
simonb
f69ac131ba
Drop the setgid'ness now that ../../usr.bin/vmstat/dkstats.c uses
...
sysctls now.
2002-01-28 02:16:56 +00:00
wiz
dd75462fd1
Uppercase cpu.
2001-07-08 18:19:16 +00:00
wiz
7da30c83ac
Change xref for vmstat(8) to vmstat(1).
...
Whitespace, punctuation and spelling fixes while I'm here.
2001-05-06 23:48:31 +00:00
mrg
f0c3971950
use -msoft-quad-float on the sparc64.
2001-02-04 14:42:31 +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
thorpej
ae67003975
Need to include <sys/sched.h> to get cp_time-related constants.
2000-06-03 21:00:42 +00:00
simonb
f28c3652ea
Use " %2.0f" instead of "%3.0f" to print out the CPU percentages - this
...
way 100 in a column doesn't merge into the previous column.
2000-05-29 11:33:43 +00:00
tron
e6523d9b6c
Don't unnecessarily check device names if "-x" is used.
1999-09-13 16:59:54 +00:00
tron
6c817dd128
Display all drives if "iostat -x <interval>" is used.
...
Fixes PR bin/8389 by Mattias Pantzare.
1999-09-13 16:56:35 +00:00
mjl
0f3963f273
Truncate disk names in header to 7 instead of 3 chars, we actually
...
have "raid0".
1999-06-27 12:32:13 +00:00
garbled
d1407362ba
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:43:46 +00:00
lukem
f6a3acc90d
in -x, print MB/s two 2 decimal places. noted by enami@netbsd.org
1998-08-27 03:17:49 +00:00
enami
cb5c756e90
add -x in usage.
1998-08-27 01:59:38 +00:00
lukem
26afa02db6
* implement -x; extended disk statistics. option inspired by solaris' iostat.
...
* fix a few typos
* a bit of KNF and egcs cleanup
* add a HISTORY (hopefully correct)
1998-08-25 08:05:47 +00:00
drochner
017037d6b1
adapt to changed dkinit() in ../../usr.bin/vmstat/dkstats.c
1998-07-19 17:48:15 +00:00
mrg
c2b498a921
KNF.
1998-07-05 06:20:05 +00:00
lukem
0a94f4f077
use CPPFLAGS instead of CFLAGS
1997-10-25 06:57:53 +00:00
lukem
77a8cb6e83
WARNSify
1997-10-17 09:03:53 +00:00
mrg
9463544113
merge lite-2
1997-10-17 05:06:40 +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
mouse
ee6a5b2cd6
alternate -> alternative, per PR 2643
1997-03-08 14:24:19 +00:00
scottr
c847b03d13
Kb' means kilobits,
Mb' means megabits. Since we're talking about bytes,
...
not bits, use the uppercase `B' when reporting statistics, and be explicit
about it where appropriate. Noticed by J.T.
1996-10-25 18:21:57 +00:00
thorpej
1eaf5ee379
New userland code to read the statistics kept by the NetBSD generic
...
disk framework, from John M. Vinopal <banshee@gabriella.resort.com>
1996-05-10 23:16:30 +00:00
jonathan
c82a4ed224
Update Makefiles for usr.bin/systat and usr.sbin/iostat to be
...
consistent with usr.bin/vmstat/Makefile wrt CLFAGS and -I, since
all three compile vmstat/names.c. (Now compiles on a pmax.)
1995-12-22 08:04:24 +00:00
thorpej
b1ebe24227
New-style RCS ids.
1995-11-28 20:16:28 +00:00
jtc
8ba230d554
vmstat is in section 8; PR #1532
1995-09-27 19:20:24 +00:00
mycroft
a616c10732
Add a column header for CP_INTR.
1995-01-18 07:46:31 +00:00
cgd
d8806814a6
specify man pages the new way.
1994-12-22 11:32:57 +00:00
deraadt
e5c0834b50
do not need -I/sys
1994-08-03 20:34:13 +00:00
hpeyerl
3aab91dcce
add -I to make this build properly for hp300
1994-06-03 18:21:16 +00:00
chopps
f48817072a
add machine define if m68k arch (for vmstat/names.c)
1994-05-21 10:14:39 +00:00
pk
8fbf67e44a
Restore "${DESTDIR}" in CFLAGS.
1994-05-17 08:58:29 +00:00
cgd
4e966414e2
clean up import. that was weird.
1994-05-14 21:52:16 +00:00
cgd
aa7aef50a3
isa device configuration changed, and the tables got killed/renamed.
...
fix from Jarle Greipsland <jarle@darling.idt.unit.no>.
1994-03-16 01:35:27 +00:00
cgd
2892f80630
needs -lkvm, not -lutil
1994-01-28 00:50:31 +00:00
cgd
fc5ae3c87e
__386BSD__ -> i386; this file might break for m68k because of ifdefs...
1993-12-06 09:25:14 +00:00
jtc
104c7f4bf6
Got bored, converted to use mandoc macros.
1993-10-06 19:34:59 +00:00
pk
0915419517
-I/sys --> -I${DESTDIR}/sys, to support cross-compilation.
1993-09-25 13:19:49 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
mycroft
c3e42d1c64
Add RCS indentifiers.
1993-08-01 07:22:47 +00:00
mycroft
b465cf4697
Add RCS identifiers.
1993-07-30 22:11:51 +00:00
mycroft
77f1922b02
Fix up FILES sections.
1993-06-13 23:06:41 +00:00
mycroft
e52e93dd80
Update file names.
1993-06-13 22:36:44 +00:00