centos man page for pmwhichcontext

Query: pmwhichcontext

OS: centos

Section: 3

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

PMWHICHCONTEXT(3)					     Library Functions Manual						 PMWHICHCONTEXT(3)

NAME
pmWhichContext - identify the current PMAPI context
C SYNOPSIS
#include <pcp/pmapi.h> int pmWhichContext(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). pmWhichContext returns a handle for the current PMAPI context, that may be used in the associated PMAPI routines that require a handle to identify a PMAPI context.
SEE ALSO
PMAPI(3), pmDestroyContext(3), pmDupContext(3), pmNewContext(3) and pmUseContext(3).
DIAGNOSTICS
PM_ERR_NOCONTEXT no current context Performance Co-Pilot PCP PMWHICHCONTEXT(3)
Related Man Pages
pmwhichcontext(3) - centos
pmdestroycontext(3) - centos
pmlookupindomtext(3) - centos
pmreconnectcontext(3) - centos
pmtrimnamespace(3) - centos
Similar Topics in the Unix Linux Community
High Performance Computing
Performance Monitoring
Performance Metrics for vB Global Translator
Performance issue
Performance calculation for Message Queues