After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 9231 - libgtop reports swapin/out for pagein/out on Linux
libgtop reports swapin/out for pagein/out on Linux
Status: RESOLVED OBSOLETE
Product: libgtop
Classification: Core
Component: linux
unspecified
Other other
: Normal normal
: ---
Assigned To: Martin Baulig
Martin Baulig
: 50114 50115 50381 50388 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2000-04-18 14:55 UTC by nik
Modified: 2003-04-11 18:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description nik 2001-01-27 17:29:41 UTC
Package: libgtop
Version: 1.0.7

There is a bug in glibtop_get_swap_s on Linux: when filling in
buf->pagein and buf->pageout, it is reporting swapin and swapout
instead.

sysdeps/linux/swap.c:95

        p = strstr (buffer, "\nswap");

should be:

        p = strstr (buffer, "\npage");

Of course, a bigger fix would be to extend struct glibtop_swap to have
swapin and swapout members as well, and report both pagein/out and
swapin/out, but I don't know how to do that on all platforms.

-nik
-- 
Nikolaus Haus                                Tel: +1 617 354 8484 x139
Principal Software Engineer                  Fax: +1 617 354 6767
Torrent Systems Inc.                         mailto:nik@torrent.com
Five Cambridge Center, Cambridge MA 02142    http://www.torrent.com/




------- Bug moved to this database by debbugs-export@bugzilla.gnome.org 2001-01-27 12:29 -------
This bug was previously known as bug 9231 at http://bugs.gnome.org/
http://bugs.gnome.org/show_bug.cgi?id=9231
Originally filed under the libgtop product and general component.

Unknown version 1.0.x in product libgtop. Setting version to the default, "unspecified".
The original reporter (nik@torrent.com) of this bug does not have an account here.
Reassigning to the exporter, debbugs-export@bugzilla.gnome.org.
Reassigning to the default owner of the component, baulig@suse.de.

Comment 1 Martin Baulig 2001-02-13 10:51:17 UTC
*** Bug 50381 has been marked as a duplicate of this bug. ***
Comment 2 Martin Baulig 2001-02-13 10:54:16 UTC
*** Bug 50388 has been marked as a duplicate of this bug. ***
Comment 3 Martin Baulig 2001-02-13 11:00:49 UTC
*** Bug 50114 has been marked as a duplicate of this bug. ***
Comment 4 Martin Baulig 2001-02-13 11:01:21 UTC
*** Bug 50115 has been marked as a duplicate of this bug. ***
Comment 5 Christian Neumair 2003-04-11 18:05:06 UTC
glibtop_get_swap_s is declared in libgtop HEAD
(include/glibtop/swap.h) but nowhere used.
It's definitly safe to close this bug.

regs,
 Chris
Comment 6 Elijah Newren 2003-04-11 18:19:30 UTC
Due to Christian Neumair's comments, and the fact that gtop is no
longer maintained (see Christian Schaller's comment in bug 80492), I'm
going to mark this as GNOME1.x (though perhaps INVALID or WONTFIX
might possibly be better choices).