Bug 1396148

Summary: RFE additional PCP metric for /proc/vmstat values
Product: [Fedora] Fedora Reporter: William Cohen <wcohen>
Component: pcpAssignee: Nathan Scott <nathans>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 24CC: brolley, fche, lberk, mbenitez, mgoodwin, nathans, pcp, scox
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pcp-3.11.8-1.fc25 pcp-3.11.9-1.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-11 04:51:56 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:
Attachments:
Description Flags
Side-by-side comparison of /proc/vmstat and pcp mem.vmstat metrics none

Description William Cohen 2016-11-17 14:49:54 UTC
Created attachment 1221592 [details]
Side-by-side comparison of /proc/vmstat and pcp mem.vmstat metrics

There are /proc/vmstat metrics that should be added to the mem.vmstat metrics.  In the pcp/src/pmdas/linux the following commands were done to get a side-by-side list of the differences.

$ cat /proc/vmstat |awk -F " " '{print $1}' | sort > proc_vmstat_metrics
$ grep \.field proc_vmstat.c|grep " = \"" | awk -F \" '{print $2}' |sort > pcp_vmstat_metrics
$ diff -dy proc_vmstat_metrics pcp_vmstat_metrics > vmstat_metric_diff

The attached vmstat_metric_diff has the /proc/vmstat entries on the left.  Lines with "<" indicate things missing from the the pcp metrics.  Some of these such as numa_pages_migrated would be helpful in diagnosing some types of system issues.

Version-Release number of selected component (if applicable):

kernel-4.8.6-201.fc24.x86_64

Comment 1 Nathan Scott 2017-02-08 00:46:46 UTC
Hi Will, this is resolved in upstream commits f93e5cc902 & 8f471a548c - will be included in pcp-3.11.8.

cheers.

Comment 2 Fedora Update System 2017-02-18 15:37:33 UTC
pcp-3.11.8-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-201a3e0969

Comment 3 Fedora Update System 2017-02-18 15:38:47 UTC
pcp-3.11.8-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6b8f1de90c

Comment 4 Fedora Update System 2017-02-20 00:49:32 UTC
pcp-3.11.8-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-201a3e0969

Comment 5 Fedora Update System 2017-02-20 05:22:00 UTC
pcp-3.11.8-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6b8f1de90c

Comment 6 Fedora Update System 2017-02-26 01:37:07 UTC
pcp-3.11.8-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2017-02-27 18:25:56 UTC
pcp-3.11.8-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3b25af744f

Comment 8 Fedora Update System 2017-03-01 02:51:20 UTC
pcp-3.11.8-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3b25af744f

Comment 9 Fedora Update System 2017-04-02 05:19:36 UTC
pcp-3.11.9-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c6c3616693

Comment 10 Fedora Update System 2017-04-03 02:24:54 UTC
pcp-3.11.9-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-c6c3616693

Comment 11 Fedora Update System 2017-04-11 04:51:56 UTC
pcp-3.11.9-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.