wollman
8ce8079e0d
Use new sysctl(3) interface to mbuf statistics. While we're at it,
...
count free mbufs correctly.
1997-02-24 20:59:03 +00:00
peter
aef78d145b
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
obrien
d9033e184f
The screen layout of the lefthand side for the vmstat display was way off.
...
(based on my running it on 2.2-GAMMA)
1997-02-15 21:01:38 +00:00
jkh
9c0cd3f9df
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
joerg
b2d0c341b3
Fix the following old problem:
...
date: 1994/10/09 07:37:18; author: davidg; state: Exp; lines: +7 -1
#if 0'd out the meat of the swap code until I get a chance to rewrite it.
...mainly by stealing the code from pstat(8).
1997-01-12 19:38:32 +00:00
jkh
ad502ffd67
Now that systat's working again, bring the vmstat cleanup over from
...
-stable.
1996-11-12 19:16:46 +00:00
bde
717bd94ea1
Initialize interrupt counters. The boot time values were displayed as ***.
...
Should be in 2.2.
Pointed out by: /etc/malloc.conf -> AJ
1996-11-10 08:30:18 +00:00
phk
8f54c8b6bd
bin/1942 curses problem in systat
...
truncate if too long for field.
2.2 candidate.
1996-11-02 15:15:40 +00:00
wollman
be63380964
Eliminate unnecessary include of <sys/mbuf.h>.
1996-10-28 19:08:13 +00:00
bde
cbced3178f
Really eliminated includes of the "temporary" backwards compatibility
...
header <sys/dir.h> in applications. My previous sweep didn't find the
places that included it without needing it.
1996-09-24 08:43:04 +00:00
bde
218243765f
Fixed DPADD.
1996-09-05 17:16:10 +00:00
jkh
cd1eb95710
Cosmetic fixes for drive names which are 4 chars long.
...
Submitted-By: Joe Greco <jgreco@ns.sol.net>
1996-06-11 16:18:58 +00:00
jdp
3b18605e22
Fix a bug in the mbufs display, seen when there was a large number
...
of mbufs in use. If the number reached, e.g., 4 digits, then later
decreased to 3 digits, the last digit of the 4-digit number was
not erased. This caused the display to show a wildly high number of
mbufs in use.
1996-05-27 17:47:09 +00:00
ache
d2d7d12fee
Localize time
1996-03-31 16:39:26 +00:00
bde
00784e734c
Renamed Proc-cache to Dir-cache for the same reasons as in vmstat.
...
Tweaked screen positions to match.
1996-03-29 14:48:25 +00:00
dg
e0a9c7acbb
Move #include of queue.h before #include of socketvar.h in preparation for
...
struct socket changes.
1996-03-11 13:01:12 +00:00
mpp
0f9c3c7f7d
Fix a variety of minor typos and cross references in a bunch of
...
man pages.
Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp>
Giles Lean <giles@nemeton.com.au>
<soda@sra.co.jp>
1996-01-20 07:29:11 +00:00
bde
4622368d18
Reduced vm dependencies. Only `struct vmmeter.h' is required.
...
Unfortunately, the sysctl number for reading this struct is
bogusly placed in <vm/vm_param.h> instead of with the declaration
of the struct.
1995-12-13 15:01:13 +00:00
peter
953530956d
Add explicit #include of <sys/vmmeter.h> after the last round of <vm/vm.h>
...
changes.
1995-12-13 11:34:46 +00:00
phk
327984a6e2
#include <sys/user.h>
1995-10-29 09:56:53 +00:00
bde
48a6a596b9
Don't attempt to read the variable total' from the kernel.
total'
...
isn't used in systat or in the kernel (it was replaced by a sysctl()
call involving VM_METER) and will go away when I clean up bogus
common variables in the kernel.
1995-07-12 20:09:02 +00:00
rgrimes
79e59e9123
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
dg
3a245c136a
Updated for 4.4BSD queue macros. (Oops, I forgot to commit this last night;
...
sorry Jordan).
1995-04-09 15:21:08 +00:00
dg
b9a45017e2
From Mark Murray:
...
I got irritated with not seeing the interrupt numbers in a (crowded)
"systat -vmstat" display, so I fixed it. Here is a patch to please be
applied in src/usr.bin/systat
1995-03-29 00:10:14 +00:00
dg
063509cde0
Removed object lookup/hit count and changed the order of things a little.
1995-03-25 08:44:48 +00:00
dg
bd4e9b4513
Removed cnt.v_nzfod...we don't support it in the kernel.
1995-03-25 06:39:47 +00:00
phk
23a0b91cfe
Fix the Name-cache counters. I didn't realign the negative hits.
1995-03-18 08:55:15 +00:00
phk
4f11b640c4
Report the negative hits in the Namei section.
1995-03-12 01:58:18 +00:00
phk
36d559b8ff
Don't use curses until initialized.
1995-03-12 01:47:08 +00:00
dg
0039079226
Changes to support printing stats for the 'cached pages'.
...
Submitted by: John Dyson
1995-03-10 20:07:21 +00:00
bde
507c04bcc3
extern.h, iostat.c, main.c, vmstat.c:
...
Use the correct value of hz (stathz if it is nonzero) for
interpretion of dk_time[] and cp_time[] in iostat.c. Avoid
multiple conversions of this value in iostat.c and vmstat.c
iostat.c:
Implement the display of cp_time[CP_INTR]. Fix the display
of cp_time[CP_IDLE] (the display was always null because
cp_time[CP_INTR] == 0 was displayed instead).
systat.1:
Document the display of cp_time[CP_INTR].
vmstat.c:
Implement the display of cp_time[CP_INTR].
1994-12-03 10:06:40 +00:00
dg
fb5bb563e2
Moved "VMSTAT" column up by one row so that it displays properly on 24
...
row displays.
1994-11-25 03:48:04 +00:00
phk
1a81bac89a
Another absolute path...
1994-11-21 01:07:02 +00:00
ache
e414a5d4d0
Prevents segm. fault on unknown option
1994-10-19 05:10:06 +00:00
dg
126ffa95cf
Updated to changes in struct vmmeter.
1994-10-18 15:03:10 +00:00
wollman
5fbb937d01
New way of getting disk drive names.
1994-10-16 04:04:56 +00:00
dg
6f8df8debf
Updated to changes in struct vmmeter.
1994-10-15 13:37:41 +00:00
dg
ee6ead524a
#if 0'd out the meat of the swap code until I get a chance to rewrite it.
1994-10-09 07:37:18 +00:00
dg
ef5a4bcf30
Changes to buf.h now require that param.h be included.
1994-10-05 09:57:49 +00:00
wollman
0df0b6cca0
Get rid of _PATH_UNIX completely; use getbootfile(3) instead.
...
DANGER WILL ROBINSON!
_PATH_UNIX is currently defined as the literal string "don't use this".
I am of two minds about this myself, but wanted to get something into the
tree as quickly as possible.
1994-09-24 00:08:43 +00:00
wollman
d475bb33fe
Make the %zfod display make more sense by comparing zfod versus the total
...
zfod + nzfod, rather than zfod / nzfod, which doesn't make a whole lot of sense.
1994-08-07 00:16:29 +00:00
dg
17e7606224
Converted 'vmunix' to 'kernel'.
1994-08-05 09:14:37 +00:00
rgrimes
e8f98d84dd
Add i386 support, and reorder machine #ifdefs to be in alphanumeric order.
1994-05-30 14:12:06 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00