Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Interface Librarieslibpctx(3LIB)


NAME

 libpctx - process context library

SYNOPSIS

 
cc [ flag ... ] file ... -lpctx [ library ... ] 

DESCRIPTION

 

Functions in this library provide a simple means to access the underlying facilities of proc(4) to allow a controlling process to manipulate the state of a controlled process.

This library is primarily for use in conjunction with the libcpc(3LIB) library. Used together, these libraries allow developers to construct tools that can manipulate CPU performance counters in other processes. The cputrack(1) utility is an example of such a tool.

INTERFACES

 

The shared object libpctx.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object interfaces.

pctx_capturepctx_create
pctx_releasepctx_run
pctx_set_events 

FILES

 
/usr/lib/libpctx.so.1
shared object
/usr/lib/64/libpctx.so.1
64-bit shared object

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcpcu (32-bit)
 SUNWcpcux (64-bit)
MT-LevelSafe

SEE ALSO

 

cputrack(1), intro(3), cpc(3CPC), libcpc(3LIB), proc(4), attributes(5)


SunOS 5.9Go To TopLast Changed 27 Feb 2001

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.