此内容没有您所选择的语言版本。
7.167. procps
Updated procps packages that fix two bugs and add various enhancements are now available for Red Hat Enterprise Linux 6.
The procps packages contain a set of system utilities that provide system information. The procps packages include the following utilities: ps, free, skill, pkill, pgrep, snice, tload, top, uptime, vmstat, w, watch, and pwdx.
Bug Fixes
- BZ#1163404
- Previously, behavior of the libproc library was unreliable when it was loaded with the dlopen() call after the environment was changed with the setenv() call. As a consequence, an invalid memory access error could occur in libproc. With this update, the find_elf_note() function obtains the auxiliary vector values using a different and safer method based on parsing the /proc/self/auxv file, and the described problem no longer occurs.
- BZ#1172059
- Prior to this update, the stat2proc() function did not process empty files correctly. Consequently, when an empty stat file was processed, the ps utility could terminate unexpectedly with a segmentation fault. Handling of empty stat files has been fixed, and ps no longer crashes in this scenario.
Enhancements
- BZ#1120580
- This update introduces the new "--system" option to the sysctl utility. This option enables sysctl to process configuration files from a group of system directories.
- BZ#993072
- The new "-h" option has been added to the "free" utility. The purpose of this option is to show all output fields automatically scaled to the shortest three-digit representation including the unit, making the output conveniently human-readable.
- BZ#1123311
- The "w" utility now includes the "-i" option to display IP addresses instead of host names in the "FROM" column.
Users of procps are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.