Product SiteDocumentation Site

1.103. libgtop2

1.103.1. RHBA-2010:0099: bug fix update


This update has already been released (prior to the GA of this release) as errata RHBA-2010:0099
Updated libgtop2 packages that resolve an issue are now available.
The libgtop2 package contains a library that enables access to information related to system statistics such as CPU, memory and disk usage, active processes, PIDs, and more.
These updated libgtop2 packages fix the following bug:
* stat files live under the /sys/block directory; for example, /sys/block/sda/sda1/stat would be the stat file corresponding to the first partition on the first (non-IDE) drive. These stat files provide several statistics about the state of a block device. However, libgtop2 parsed the line of information supplied by stat files on recent versions of Red Hat Enterprise Linux incorrectly, which caused, for example, the GNOME System Monitor utility to display graphs which used incorrect colors and/or values. This update ensures that the stat files are parsed correctly and thus supply correct information to applications which make use of libgtop2. (BZ#548693)
* libgtop2 was unable to correctly parse /proc/[pid]/smaps files to determine memory usage information due to the fact that a field for swap usage was added to smaps files. This update fixes the parser so that it is once again able to correctly parse smaps files. (BZ#562817)
All users are advised to upgrade to these updated packages, which resolve this issue.

Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.