NetBSD Problem Report #24679

Received: (qmail 8267 invoked by uid 605); 5 Mar 2004 10:41:27 -0000
Message-Id: <20040305103614.BDE5FE703C@calimero.sis.pasteur.fr>
Date: Fri,  5 Mar 2004 11:36:14 +0100 (CET)
From: njoly@pasteur.fr
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: njoly@pasteur.fr
To: gnats-bugs@gnats.NetBSD.org
Subject: already running top(1) miss all swap removal
X-Send-Pr-Version: 3.95

>Number:         24679
>Category:       bin
>Synopsis:       already running top(1) miss all swap removal
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 05 10:42:00 +0000 2004
>Closed-Date:    
>Last-Modified:  Sun Dec 28 18:20:00 +0000 2014
>Originator:     Nicolas Joly
>Release:        NetBSD 1.6ZK (-current 20040304)
>Organization:
	Institut Pasteur
>Environment:
System: NetBSD calimero.sis.pasteur.fr 1.6ZK NetBSD 1.6ZK (CALIMERO) #10: Thu Mar 4 17:50:53 CET 2004 njoly@calimero.sis.pasteur.fr:/local/src/NetBSD/obj/amd64/sys/arch/amd64/compile/CALIMERO amd64
Architecture: x86_64
Machine: amd64
>Description:
An already running top(1) program miss all swap devices/files removal :

njoly@calimero [~]# swapctl -l
no swap devices configured

top reports ... Swap: 

root@calimero [~]# swapctl -a /tmp/swapfile 
root@calimero [~]# swapctl -l
Device        512-blocks     Used    Avail Capacity  Priority
/tmp/swapfile     204800        0   204800     0%    0

top reports ... Swap: 100M Total, 100M Free

root@calimero [~]# swapctl -a /dev/sd0b         
root@calimero [~]# swapctl -l
Device        512-blocks     Used    Avail Capacity  Priority
/tmp/swapfile     204800        0   204800     0%    0
/dev/sd0b        8390088        0  8390088     0%    0
Total            8594888        0  8594888     0%

top reports ... Swap: 4197M Total, 4197M Free

root@calimero [~]# swapctl -d /tmp/swapfile 
root@calimero [~]# swapctl -l
Device      512-blocks     Used    Avail Capacity  Priority
/dev/sd0b      8390088        0  8390088     0%    0

top reports ... Swap: 4097M Total, 4097M Free

root@calimero [~]# swapctl -d /dev/sd0b         
root@calimero [~]# swapctl -l
no swap devices configured

top reports ... Swap: 4097M Total, 4097M Free

I made some tests, and it seems to be a display problem (fetched swap
stats are fine).

>How-To-Repeat:
let top(1) run in a window, and remove all swap devices/files.
Then check top output for swap.
>Fix:
unknown
>Release-Note:
>Audit-Trail:
From: Miwa Susumu <miwarin@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/24679
Date: Sun, 28 Dec 2014 12:08:30 +0900

 Not reproduce.
 Is Fixed ?

 my environment:

 % uname -rms
 NetBSD 6.1.5 i386

 -- 
 miwarin

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/24679
Date: Sun, 28 Dec 2014 18:18:40 +0000

 On Sun, Dec 28, 2014 at 03:10:01AM +0000, Miwa Susumu wrote:
  >  Not reproduce.
  >  Is Fixed ?
  >  
  >  my environment:
  >  
  >  % uname -rms
  >  NetBSD 6.1.5 i386

 I'd guess it's fixed. The report's from 10 years ago :(

 -- 
 David A. Holland
 dholland@netbsd.org

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.