About This Guide

This guide describes how to program Performance Co-Pilot (PCP), a software package of advanced performance management applications for the SGI family of graphical workstations and servers. PCP provides a systems-level suite of tools that cooperate to deliver distributed, integrated performance monitoring and performance management services spanning the hardware platform, the operating system, service layers, user applications, and distributed application architectures.

1. What This Guide Contains

This guide contains the following chapters:

2. Audience for This Guide

The guide describes the programming interfaces to Performance Co-Pilot (PCP) for the following intended audience:

  • Performance analysts or system administrators who want to extend or customize performance monitoring tools available with PCP

  • Developers who need to integrate their applications into the PCP framework

This book is written for those who are competent with the C programming language, the UNIX operating system, and the target domain from which the desired performance metrics are to be extracted. Familiarity with the PCP tool suite is assumed.

3. Related Resources

The Performance Co-Pilot User's and Administrator's Guide, which is a companion document to the Performance Co-Pilot Programmer's Guide, is intended for system administrators and performance analysts who are directly using and administering PCP applications.

Additional resources include man pages, release notes, and SGI Web sites.

3.1. Man Pages

The IRIX man pages provide concise reference information on the use of IRIX commands, subroutines, and system resources. There is usually a man page for each PCP command or subroutine. To see a list of all the PCP man pages, enter the following command:

man -k performance 

To see a particular man page, supply its name to the man command, for example:

man pcp

The man pages are divided into the following seven sections:

(1)

General commands

(2)

System calls and error numbers

(3)

Library subroutines

(4)

File formats

(5)

Miscellaneous

(6)

Demos and games

(7)

Special files

When referring to man pages, this guide follows a standard UNIX convention: the section number in parentheses follows the item. For example, pmda(3) refers to the man page in section 3 for the pmda command.

3.2. Release Notes

Release notes provide specific information about the current product release, available online through the relnotes command. Exceptions to the printed and online documentation are found in the release notes. The grelnotes command provides a graphical interface to the release notes of all products installed on your system. For additional information, see the relnotes(1) and grelnotes(1) man pages.

3.3. SGI Web Sites

The following Web sites are accessible to everyone with general Internet access:

URL

Description

http://www.sgi.com

The SGI general Web site, with search capability

http://www.sgi.com/software

Links to Performance Co-Pilot product information

http://oss.sgi.com/projects/pcp

Some parts of the PCP infrastructure that have also been released as open source

4. Obtaining Publications

To obtain SGI documentation, go to the SGI Technical Publications Library at:

http://techpubs.sgi.com.

5. Conventions

The following conventions are used throughout this document:

Convention 

Meaning

command 

This fixed-space font denotes literal items such as commands, files, routines, path names, signals, messages, and programming language structures.

variable 

Italic typeface denotes variable entries and words or concepts being defined.

user input 

This bold, fixed-space font denotes literal items that the user enters in interactive sessions. Output is shown in nonbold, fixed-space font.

[ ] 

Brackets enclose optional portions of a command or directive line.

... 

Ellipses indicate that a preceding element can be repeated.

ALL CAPS 

All capital letters denote environment variables, operator names, directives, defined constants, and macros in C programs.

() 

Parentheses that follow function names surround function arguments or are empty if the function has no arguments; parentheses that follow IRIX commands surround man page section numbers.

6. Reader Comments

If you have comments about the technical accuracy, content, or organization of this document, please tell us. Be sure to include the title and document number of the manual with your comments. (Online, the document number is located in the front matter of the manual. In printed manuals, the document number is located at the bottom of each page.)

You can contact us in any of the following ways:

  • Send e-mail to the following address:

    techpubs@sgi.com

  • Use the Feedback option on the Technical Publications Library World Wide Web page:

    http://techpubs.sgi.com

  • Contact your customer service representative and ask that an incident be filed in the SGI incident tracking system.

  • Send mail to the following address:

    Technical Publications
    SGI
    1600 Amphitheatre Pkwy., M/S 535
    Mountain View, California 94043-1351

  • Send a fax to the attention of “Technical Publications” at +1 650 932 0801.

We value your comments and will respond to them promptly.