Bug 1288497
Summary: | pmap - no sums computed for RSS and Dirty column | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Branislav Náter <bnater> | ||||
Component: | procps | Assignee: | Ondrej Vasik <ovasik> | ||||
Status: | CLOSED ERRATA | QA Contact: | Branislav Náter <bnater> | ||||
Severity: | low | Docs Contact: | Petr Bokoc <pbokoc> | ||||
Priority: | medium | ||||||
Version: | 6.7 | CC: | albert, pbokoc | ||||
Target Milestone: | rc | Keywords: | Patch | ||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | procps-3.2.8-36.el6 | Doc Type: | Bug Fix | ||||
Doc Text: |
Previously the layout of the extended pmap output differed on 32-bit and 64-bit architectures due to the fact, that it is generated for both bit widths with a different part of the source code. While the 64-bit code went through an evolution, the 32-bit code was forgotten and the layout was kept intact for a long time and some of the values were missing (for example the sums for the RSS/Dirty columns). This update fixes the 32-bit layout to match the 64-bit layout. The only expected difference is the width of the address column.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-05-11 00:29:08 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Branislav Náter
2015-12-04 12:13:32 UTC
I'm trying to test that on 32-bit ppc in order to get more info that could help us to understand the problem better. I'm unable to install 32-bit RHEL5 on PPC. The installer is terminated unexpectedly. Gonna debug on i686. It's really strange. The whole layout differs on i686. There are 5 dashed columns instead of 4 and the total is incorrect. x86_64: 00007fff5bd42000 84 24 24 rw--- [ stack ] 00007fff5bd93000 4 4 0 r-x-- [ anon ] ffffffffff600000 4 0 0 r-x-- [ anon ] ---------------- ------ ------ ------ total kB 108728 2020 604 i686: b77c9000 8 8 8 rw--- [ anon ] b77d7000 4 4 4 rw--- [ anon ] bf96a000 84 20 20 rw--- [ stack ] -------- ------- ------- ------- ------- total kB 1195600 - - - For some reason, the 32-bit code differs from the 64-bit code. Someone probably did some kind of enhancement and forgot to modify the bottom code. if(x_option){ if(sizeof(KLONG)==8){ printf("---------------- ------ ------ ------\n"); printf( "total kB %15ld %7llu %7llu\n", (total_shared + total_private_writeable + total_private_readonly) >> 10, total_rss, (total_shared_dirty+total_private_dirty) ); }else{ printf("-------- ------- ------- ------- -------\n"); printf( "total kB %7ld - - -\n", (total_shared + total_private_writeable + total_private_readonly) >> 10 ); } } Created attachment 1102322 [details]
procps-3.2.8-pmap-32bit-layout-fix.patch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0904.html |