Bug 703865
Summary: | GNU time reports incorrect maximum RSS | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Petr Pisar <ppisar> | ||||||
Component: | time | Assignee: | Petr Pisar <ppisar> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Ondřej Pták <optak> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 6.1 | CC: | btotty, cww, jorton, optak, pasteur, ppisar | ||||||
Target Milestone: | rc | Keywords: | EasyFix, Patch | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
URL: | http://lists.gnu.org/archive/html/bug-gnu-utils/2008-12/msg00043.html | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | time-1.7-38.el6 | Doc Type: | Bug Fix | ||||||
Doc Text: |
Cause:
Running time(1) tool with "-f %M" arguments.
Consequence:
Reported maximal resident set size (RSS) is wrong.
Fix:
The tool has been changed understand that Linux kernel
expresses the value in kilobytes instead of memory pages.
Result:
time(1) tool reports maximal RSS tool correctly.
|
Story Points: | --- | ||||||
Clone Of: | 702826 | Environment: | |||||||
Last Closed: | 2015-03-23 08:15:03 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 836160, 947775, 1070830, 1159820 | ||||||||
Attachments: |
|
Description
Petr Pisar
2011-05-11 13:40:15 UTC
Created attachment 498298 [details]
Fix
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative. Created attachment 560195 [details]
test case
*** Bug 783143 has been marked as a duplicate of this bug. *** This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux. time-1.7-37.1.el6 ================= :: [ INFO ] :: RSS usage of given script is suppose to be about 412024 kB :: [ PASS ] :: Measuring RSS usege (Expected 0, got 0) :: [ FAIL ] :: RSS max usage should be < 450000 (Assert: "450000" should be greater than "1647232") :: [ PASS ] :: RSS max usage should be > 400000 (Assert: "1647232" should be greater than "400000") :: [ INFO ] :: RSS value is 399 % of expected value time-1.7-38.el6 =============== :: [ INFO ] :: RSS usage of given script is suppose to be about 412024 kB :: [ PASS ] :: Measuring RSS usege (Expected 0, got 0) :: [ PASS ] :: RSS max usage should be < 450000 (Assert: "450000" should be greater than "411804") :: [ PASS ] :: RSS max usage should be > 400000 (Assert: "411804" should be greater than "400000") :: [ INFO ] :: RSS value is 99 % of expected value verified on all relevant architectures 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-2015-0710.html |