RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1847055 - pcp atop shows "?K" in the PSIZE column
Summary: pcp atop shows "?K" in the PSIZE column
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pcp
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Nathan Scott
QA Contact: Jan Kurik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-15 14:38 UTC by Andreas Gerstmayr
Modified: 2021-09-17 12:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-19 06:51:04 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andreas Gerstmayr 2020-06-15 14:38:32 UTC
Description of problem:
pcp atop shows "?K" in the PSIZE column

Version-Release number of selected component (if applicable):
pcp-5.1.1-2.el8 

How reproducible:
always

Steps to Reproduce:
# pcp atop -m

Actual results:
pcp atop shows "?K" in the PSIZE column

Expected results:
actual data should be in the PSIZE column

Additional info:
the new proc.smaps.pss metric works as expected

Comment 1 Nathan Scott 2020-06-19 06:51:04 UTC
This is behaving as designed - because the smaps metrics are deemed quite expensive to sample (by atop devs - indeed they are, see below) they've added a -R flag which must be used in order to enable this column.

$ time  pminfo -f proc.psinfo.pid
[...]
real	0m0.028s

$ time  pminfo -f proc.smaps.pss
[...]
real	0m0.201s


I've confirmed that testing with this option enabled, all is well and the column is displayed with values.

Comment 2 Jan Kurik 2020-06-19 07:13:14 UTC
Thanks Nathan and I am sorry for the false alarm. I missed this design feature.

It works as expected with the '-R' flag.
Verified on pcp-5.1.1-2.el8 build.

Comment 3 Andreas Gerstmayr 2020-06-19 14:20:06 UTC
Heh, I also didn't realize this - sorry!

I was about to suggest to hide the PSIZE column in this case, but the original atop tool also shows the PSIZE column with "0K" it the -R flag is not enabled - so it's probably best to leave it as it is now.

Comment 4 Nathan Scott 2020-06-22 00:18:19 UTC
No problem guys - thanks for testing it out.


Note You need to log in before you can comment on or make changes to this bug.