[pcp:master] reported: RFE: pminfo option to indicate which metrics are actually available (an inverse of -v option) #github
| Newsgroups | gmane.comp.sysutils.pcp |
|---|---|
| Message-ID | <[email protected]> |
[pcp:master] New Comment on Issue #275 RFE: pminfo option to indicate which metrics are actually available (an inverse of -v option) ( https://github.com/performancecopilot/pcp/issues/275 )
By wcohen ( https://github.com/wcohen ) :
Thanks for the suggestion. pmprobe looks like it will do. The one-liner below give me the list of metrics that have values:
pmprobe |grep -v " 0" |grep -v "-"|awk '{print $1}'