Subject: swapctl bug in 1.3.2?
To: 'port-i386@netbsd.org' <port-i386@netbsd.org>
From: Gunnar Helliesen <gunnar@bitcon.no>
List: port-i386
Date: 08/04/1998 18:05:01
This is under NetBSD/i386 1.3.2 vanilla.

I added a second swap partition, bringing the total up to 2 gigs of
swap.


# swapctl -l
Device      1K-blocks     Used    Avail Capacity  Priority
/dev/sd0b     1050058        4  1050054     0%    0
/dev/sd1b     1050058        4  1050054     0%    0
Total        -2094187        8 -2094195     0%

# swapctl -s
total: -2094187k bytes allocated = 8k used, -2094195k available

# top

load averages:  1.70,  0.91,  1.03                      12:54:13
42 processes:  3 running, 39 sleeping
CPU states:  0.0% user,  100% nice,  0.0% system,  0.0% interrupt,  0.0%
idle
Memory: 10M Act 6144K Inact 30M Wired 457M Free 8K Swap K Swap free


Dunno if this is fixed in -current but I thought I'd better report it
just in case...

Gunnar

--
Gunnar Helliesen   | Bergen IT Consult AS  | NetBSD/VAX on a uVAX II
Systems Consultant | Bergen, Norway        | '86 Jaguar Sovereign 4.2
gunnar@bitcon.no   | http://www.bitcon.no/ | '73 Mercedes 280 (240D)