centos man page for pmdupcontext

Query: pmdupcontext

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PMDUPCONTEXT(3) 					     Library Functions Manual						   PMDUPCONTEXT(3)

NAME
pmDupContext - duplicate a PMAPI context
C SYNOPSIS
#include <pcp/pmapi.h> int pmDupContext(void); cc ... -lpcp
DESCRIPTION
An application using the Performance Metrics Application Programming Interface (PMAPI) may manipulate several concurrent contexts, each associated with a source of performance metrics, e.g. pmcd(1) on some host, or an archive log of performance metrics as created by pmlog- ger(1). Calling pmDupContext will replicate the current PMAPI context, returning a handle for the new context that may be used with subsequent calls to pmUseContext(3). Once created, the duplicated context and the original context have independent existence, and so their instance profiles and collection time (relevant only for archive contexts) may be independently varied. The newly replicated context becomes the current context.
SEE ALSO
PMAPI(3), pmNewContext(3) and pmUseContext(3). Performance Co-Pilot PCP PMDUPCONTEXT(3)
Related Man Pages
pmwhichcontext(3) - centos
pmdestroycontext(3) - centos
pmdupcontext(3) - centos
pmgetcontexthostname(3) - centos
pmlookuptext(3) - centos
Similar Topics in the Unix Linux Community
Help! Slow Performance
Performance related to ls
Parallel Performance Wizard 1.1 (Default branch)
Parallel Performance Wizard 1.2 (Default branch)
Help Analyzing AIX System Metrics