How can I merge multiple PCP archives into one for a system level performance analysis covering multiple days or weeks

Updated -

Quick Answer

To merge multiple PCP archives into one, use the pmlogextract tool, e.g.

# pmlogextract <archive1> <archive2> <newarchive>

EXAMPLE for the host named 'goblin' :

    # cd /var/log/pcp/pmlogger/goblin/
    # pmlogextract $(ls -1 *.[0-9] *.xz | sort -n) /tmp/goblin_perf

This merges all a...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In