Bug 183328

Summary: [RHEL4] Mulitload applet shows 100% usage when no swap
Product: Red Hat Enterprise Linux 4 Reporter: Bastien Nocera <bnocera>
Component: gnome-appletsAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 4.0CC: tao
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2007-0776 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-15 09:24:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 234251    
Attachments:
Description Flags
gnome-applets-2.8.0-no-swap.patch none

Description Bastien Nocera 2006-02-28 09:25:57 UTC
gnome-applets-2.8.0-5

1. Start with some swap enabled
2. Disable the swap with "swapoff"
3. See the swap usage show 100%

It should show 0% instead, so as to avoid confusion.

Partial patch adapted from:
http://cvs.gnome.org/viewcvs/gnome-applets/multiload/linux-proc.c?r1=1.22&r2=1.23

Patch by Bryan Mason <bjmason>

Comment 1 Bastien Nocera 2006-02-28 09:25:57 UTC
Created attachment 125387 [details]
gnome-applets-2.8.0-no-swap.patch

Comment 7 Ray Strode [halfline] 2006-03-30 19:06:59 UTC
Hi,

I moved this to CanFix prematurely under the new process.

Comment 20 Red Hat Bugzilla 2007-08-15 09:24:06 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2007-0776.html