-
-
Notifications
You must be signed in to change notification settings - Fork 245
Open
Labels
Description
Somehow pmrep cannot filter instances which are present at the beginning of the archive, but not at the end.
I'm running pcp-zeroconf on Fedora 34 in a VM from the latest main branch. While logging an archive, I've restarted pmcd, so I have two instances of pmcd in the proc metrics:
$ pmdumplog 20210518.17.21 | grep pmcd
[snip]
inst [318696 or "318696 /usr/libexec/pcp/bin/pmcd"] value "/usr/libexec/pcp/bin/pmcd"
[snip]
inst [320385 or "320385 /usr/libexec/pcp/bin/pmcd"] value "/usr/libexec/pcp/bin/pmcd"
i.e. the first invocation of pmcd had PID 318696, and the second one PID 320385.
Running pmrep and filtering for the first invocation gives:
pmrep -a 20210518.17.21 proc.psinfo.psargs -i 318696
p.p.psargs
318696 /us
pmrep: Insufficient elements in list
No metrics or instances to report present.
Running pmrep and filtering for the second invocation works fine.
Here is the archive: archive.zip
@myllynen already investigated this, can you share your findings here?