PMDANAME(3) Library Functions Manual PMDANAME(3)NAME
pmdaName - translate a PMID to a set of dynamic performance metric names
C SYNOPSIS
#include <pcp/pmapi.h>
#include <pcp/impl.h>
#include <pcp/pmda.h>
int pmdaName(pmID pmid, char ***nameset, pmdaExt *pmda);
cc ... -lpcp_pmda -lpcp
DESCRIPTION
As part of the Performance Metrics Domain Agent (PMDA) API (see PMDA(3)), pmdaName is the generic callback for translating a pmid into one
or more dynamic metric names (nameset).
Because implementing dynamic performance metrics requires specific PMDA support, and the facility is an optional component of a PMDA (most
PMDAs do not support dynamic performance metrics), pmdaName is a skeleton implementation that returns PM_ERR_NAME.
A PMDA that supports dynamic performance metrics will provide a private callback that replaces pmdaName (by assignment to version.four.name
of the pmdaInterface structure) and implements the translation from a pmid to a set of dynamic performance metric names returned via name-
set. The behaviour, return values and memory allocation rules for nameset are the same as for pmNameAll(3).
DIAGNOSTICS
pmdaName returns PM_ERR_PMID if the name is not recognized or cannot be translated, otherwise the number of metric names found (most com-
monly 1).
CAVEAT
The PMDA must be using PMDA_PROTOCOL_4 or later, as specified in the call to pmdaDSO(3) or pmdaDaemon(3).
SEE ALSO PMAPI(3), PMDA(3), pmdaDaemon(3), pmdaDSO(3), pmdaMain(3), pmNameAll(3) and pmNameID(3).
Performance Co-Pilot PCP PMDANAME(3)
Check Out this Related Man Page
PMDAEVENTCLIENT(3) Library Functions Manual PMDAEVENTCLIENT(3)NAME
pmdaEventNewClient, pmdaEventEndClient, pmdaEventClients - client context tracking interfaces for event queues
C SYNOPSIS
#include <pcp/pmapi.h>
#include <pcp/impl.h>
#include <pcp/pmda.h>
int pmdaEventNewClient(int context);
int pmdaEventEndClient(int context);
int pmdaEventClients(pmAtomValue *avp);
cc ... -lpcp_pmda -lpcp
DESCRIPTION
A Performance Metrics Domain Agent (PMDA) that exports event records needs to track which clients are connected to it, in order that it can
track which events have been sent to which clients so far. Only once an event has been sent to all monitoring tools that registered an in-
terest can the event be discarded and any memory reclaimed.
The PMDA(3) library provides callback routines for PMDA developers to provide custom handling of client connections and disconnections. If
the PMDA is making use of the event queueing mechanism provided by pmdaEventNewQueue(3) and friends, client connections and disconnections
must be tracked via calls to pmdaEventNewClient and pmdaEventEndClient respectively. This allows the library to keep track of when events
can be discarded from a queue, for example, for the context specified. This parameter is passed into the e_endCallBack function directly,
and for other callback functions is available via the e_context field of the pmdaExt structure. Additionally, it can be queried at any
time using pmdaGetContext(3).
Sometimes it is useful for the PMDA to export a metric indicating the current count of attached clients - this is available using the pm-
daEventClients routine, which will fill in the avp pmAtomValue structure on behalf of a PMDA fetch callback routine.
SEE ALSO pmdaEventNewArray(3), pmdaEventNewQueue(3), PMAPI(3), PMDA(3) and pmEventFlagsStr(3).
Performance Co-Pilot PCP PMDAEVENTCLIENT(3)
Hi All,
I have a requirement to zip and compress files with dynamic names (which includes date and time component in their names) needs to be compressed with same name.
for example I have a file T.30.SLS_ORD.SO.27.2_2_2.20080623.041415.dat which needs to archived as... (1 Reply)
I'm doing performance testing for one application which works on AIX.
But I don't know which performance parameters of memory need to be collected. Now, I just know very few:
1. page in
2. page out
3. fre
They are all collected by "vmstat" command.
I want to know, except for above... (2 Replies)
hi someone tell me which ways i can improve disk I/O and system process performance.kindly refer some commands so i can do it on my test machine.thanks, Mazhar (2 Replies)
Hello,
I would like get idea about performance enginering from basic to advanced level. Do anyone know a place where i can find some videos related to performance engineering ? (5 Replies)
Hi all,
I have two storadge 3510 Fc .. with 12 disks 146Gb ..total 1752Gb each storadge. I need to use about 1.4 Tb of it. and want RAID1 ..
I need 13 mount points ..
So question:
for best performance and redundjancy how I must do it.
create 13 logical drives on each stordge with same size... (1 Reply)
Hi all,
I am planning to give a presentation on performance measure. I have decided to focus on the commands which are used to know the performance of the server. I have a idea of prstat,vmstat,netstat, and iostat. Could anybody suggest me any other commands which are used for perforamance... (7 Replies)
I've just been handed a hot potato from a colleague who left :(... our client has been complaining about slow performance on one of our servers.
I'm not very experienced in investigating performance issues so I hoping someone will be so kind to provide some guidance
Here is an overview of the... (8 Replies)
We are wondering if we are facing performance issue in our server when running Informatica jobs. Two things to suspect:
cache memory never comes down even when Top shows > 99% used.
There is some contention io or network related or Cache is clogged
top - 20:58:20 up 16 days, ... (3 Replies)