Red Hat Bugzilla – Bug 1293437
Need pcp-iostat functionality in RHEL6 and RHEL7
Last modified: 2016-01-07 18:46:59 EST
Description of problem:
I've been told to use PCP for replacement for systat(iostat), and that there is a pcp-iostat module for extracting iostat like data from PCP. I see that functionality upstream, but when I do a man pcp-iostat I get nothing.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum install pcp
2. man pcp-iostat
pcp-iostat not available
Dwight, pmiostat aka "pcp iostat" has been part of pcp since at least version 3.10.5. You may be missing the man page due to missing the pcp-doc subrpm?
$ pcp iostat
Cannot find a pcp-iostat command to execute
Usage: pcp [options] [[...] command [...]]
# yum update pcp
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
No Packages marked for Update
# rpm -qa | grep pcp
so how do i get the latest 3.10.5 to install on 6.7? yum update is insufficient evidently.
While RHEL6.7 doesn't have a newer version of pcp (3.10.3), you can find the latest rpm's (3.10.9) for el6 upstream on bintray.
(In reply to Dwight (Bud) Brown from comment #3)
> $ pcp iostat
> Cannot find a pcp-iostat command to execute
> Usage: pcp [options] [[...] command [...]]
Back in 3.10.3, it was called 'pmiostat', which is in the pcp-3.10.3.... subrpm.
Bud, see Lukas' and Frank's earlier replies.
For RHEL6.x (x < 8), get the bintray repo for RHEL6:
# wget https://bintray.com/pcp/el6/rpm -O bintray-pcp-el6.repo
# mv bintray-pcp-el6.repo /etc/yum.repos.d
On RHEL7.x (x < 2) :
# wget https://bintray.com/pcp/el7/rpm -O bintray-pcp-el7.repo
# mv bintray-pcp-el7.repo /etc/yum.repos.d
PCP is undergoing a lot of development with a lot of incoming RFEs and github requests; faster than we can push stuff into earlier RHEL release streams. As such, I have opened lots of BZs in the past to try and always have latest PCP in earlier RHEL5, RHEL6 and RHEL7 release streams, but rules are rules and it's usually not feasible aka request denied. E.g. see BZ #1229998, BZ #1229999 and many others.
In general, you will always be better off using the latest. Currently version 3.10.9, so make use of the bintray repos when needed, or stock RHEL when available.
(In reply to Lukas Berk from comment #4)
> Hi Dwight,
> While RHEL6.7 doesn't have a newer version of pcp (3.10.3), you can find the
> latest rpm's (3.10.9) for el6 upstream on bintray.
Customers often are reluctant to install software from 3rd party sites, but will keep this in mind. Will wait for 6.8 release before trying.
I'd like to keep it open until the 3.10.9 is released via errata to both 6 and 7, as that has been cited as the one needed in most of the BZs. Right now, yum install onseems to get just 3.10.3.
If there is another bz already open and tracking the release of 3.10.9 on the two releases, then this can be closed as a duplicate of those.
DUP'ing as part PCP release tracking activity for 6.8, and as per comment #12 - both RHEL 6.8 and 7.3 will rebase to 3.10.9 or later.
*** This bug has been marked as a duplicate of bug 1248272 ***