pcp
[Top] [All Lists]

PcP query using monitors.

To: pcp@xxxxxxxxxxx
Subject: PcP query using monitors.
From: Deepthi Dharwar <deepthi@xxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Jun 2015 21:10:31 +0530
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
Hi all,

I am relatively a new user exploring PcP.
My use case being, invoking already supported PcP monitors like
'pmval' directly from an application.

I am aware of API bindings that PcP exposes. These are to connect
to the daemon pmcd and get the values of counters directly but
this does not involve any post processing of data. As far as I
understand post processing is done as part of monitors.

Are there monitor APIs that can be invoked from an application ?
Can some one let me know if I am missing out anything.

Eg, if one takes memory bandwidth metric, this can be derived
by post processing of multiple PMU counters retrieving Read and Write
units separately. Keeping in PCP design, where should one ideally do the
post processing and how to invoke this aggregated metric from an
application ?

Regards,
Deepthi

<Prev in Thread] Current Thread [Next in Thread>