GNOME Bugzilla – Bug 50114
libgtop reports swapin/out for pagein/out on Linux
Last modified: 2005-11-20 01:01:32 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 baulig@suse.de 2000-12-16 16:06 ------- This bug 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 unspecified in product libgtop. Setting version to "1.0.9". The original reporter of this bug does not have an account here. Reassigning to the person who moved it here, baulig@suse.de. Previous reporter was nik@torrent.com. The original owner of this bug does not have an account here. Reassigning to the person who moved it here, baulig@suse.de. Previous owner is unknown. Bug assigned to new owner, setting status to "NEW". Previous status was "UNCONFIRMED".
*** This bug has been marked as a duplicate of 9231 ***