Commit Graph

188 Commits

Author SHA1 Message Date
mrg 035e984ada WARNSify; deprecate register; fix some broken fprintf() statements found from WARNS. 1997-10-20 03:11:57 +00:00
mrg 0026c9e93a merge lite-2. 1997-10-18 14:34:39 +00:00
is c0515bc6f2 Repair the formatting of the by-memory-type table of "vmstat -m"
("MSDOSFS mount" is too big for %12s).
Note that this breaks naive parser scripts, but they would not parse
the earlier "MSDOSFS mount" line correctly, anyway.
1997-04-10 15:49:30 +00:00
is f70c0e95c8 "undefined" -> "undef/%d" for memory type names. Similar, but not identical
to Ken Raeburns proposal from PR 1012, herewith closed.
1997-04-10 15:23:50 +00:00
thorpej a7883a4d79 If kmem stats are not being gathered by the kernel, print a useful
message to that effect.  Fixes PR #3187, submitted by
Guenther Grau <s_grau@ira.uka.de> (fix by me).
1997-02-22 02:04:42 +00:00
thorpej 3d130af5dc Compute `halfuptime' correctly when `uptime' == 1.
From Lennart Augustsson <augustss@cs.chalmers.se>, PR #2944.
1996-11-29 19:40:56 +00:00
cgd 72f7358ea7 print all evcnt structures, not just those which have the name "intr".
Printing only those with the name "intr" is too restrictive, because it
means that devices can only have one interrupt, which makes little
sense for many devices and absolutely no sense for several common busses.
1996-11-25 22:55:59 +00:00
mycroft 916902678d Remove straggling references to dk_ndrive and dk_xfer. 1996-08-08 04:11:27 +00:00
cgd cbeadd1248 the kernel 'boottime' variable is a timeval. copy it out of kernel
memory as such (not as a time_t).
1996-06-05 00:18:58 +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
cgd acf9d62a7b update for the fact that 'allevents' is now a TAILQ. 1996-04-04 00:27:50 +00:00
cgd 47b01b6b9c print interrupt names in 14 cols. really should be dynamic. 1995-10-10 01:17:35 +00:00
cgd dc9363b197 don't forget to accumulate interrupt counts found via allevents. 1995-10-08 06:54:36 +00:00
cgd 7d7362b02f fix spacing problem in interrupt/total/rate output line of vmstat -i 1995-10-08 06:39:16 +00:00
phil d706482f56 For the pc532, get struct iv from the protected part of <machine/psl.h>. 1995-09-24 06:34:47 +00:00
phil d096b0e5e1 pc532 specific interrupt code. (From Matthias Pfaller.) 1995-08-27 06:20:27 +00:00
jtc 9e981c23ff sys/signal.h -> signal.h 1995-06-27 00:31:00 +00:00
cgd 1b397d5648 fix up RCS ids 1995-05-07 22:16:23 +00:00
cgd 096459aaec cast pointers to longs, not ints. 1995-04-29 05:59:11 +00:00
ragge e1a75f1fbc VAX machine dependent defs removed. 1995-04-17 00:00:27 +00:00
pk 4df02dd0c1 Make use of the new kernel event counters; from Theo. 1995-03-14 07:35:49 +00:00
cgd 0765b1c716 size is a size_t! 1994-12-24 17:02:20 +00:00
mycroft b2329b6229 Fix RCS id format. 1994-10-06 15:54:02 +00:00
cgd 968fe31b75 re-enable new bucket foo, also widen type name field by one for miscfs mount 1994-05-13 08:41:12 +00:00
cgd 8169628f13 rcsids 1994-05-11 07:35:54 +00:00
cgd c5a09332b5 clean up import. also, stub read_names for the i386, and comment out
some refs to kmem stats fields that we don't have yet.  This will need
hacking, (1) for the various ports, (2) for the kmem stuff, and won't
work completely right until those happen, and until the new vm system
is integrated.
1994-05-11 07:34:05 +00:00
cgd 2a83433d4e clean, exported variable (and contents) changes 1994-04-15 07:07:23 +00:00
cgd 4198f66135 fix to work with new config. SCSI device name support is totally hosed. 1994-03-13 03:38:30 +00:00
cgd aacc00e1f9 get rid of __386BSD__ and replace as appropriate with __NetBSD__ and i386 1993-12-06 09:21:56 +00:00
deraadt 2576177364 some nice new things 1993-11-10 15:00:41 +00:00
cgd 1ac3fb6639 widen "Type" field of vmstat -m by 2 characters 1993-10-02 03:26:52 +00:00
cgd f0ba70d26a make various vm counters part of the "standard" nlist (for mw) 1993-08-23 10:33:07 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 8d3024e280 clean up interrupt count printing a bit... 1993-06-06 17:15:59 +00:00
cgd a8a67cbfaf fix dependencies on M_LAST's old off-by-one error...
(arguably, the old error wasn't an error, but, given some
of the old usage of M_LAST and its name, i say it was)
1993-05-25 18:04:17 +00:00
cgd 188696dbcb add rcs ids, and update for "arch" 1993-05-21 08:53:22 +00:00
deraadt 2820a4755d iostat and vmstat being taught about drives.. 1993-05-04 07:38:29 +00:00
cgd dab5e017db added, from net/2 (patch 124). 1993-04-09 12:58:42 +00:00