10.4. Miscellaneous performance monitoring subroutines

In this section we describe the use of some subroutines that are available to programmers from different libraries. The documentation for the subroutines can be found in the AIX 5L Version 5.3 Technical Reference: Base Operating System and Extensions, Volume 1, SC23-4913, and AIX 5L Version 5.3 Technical Reference: Base Operating System and Extensions, Volume 2, SC23-4914.

10.4.1. Compiling and linking

Many of the subroutines described in this section require different libraries to be linked with the program. For each subroutine that requires a specific library this is mentioned. The general syntax for compiling and linking is:

  cc -lLIBRARY -o program program.c

This creates the program ...

Get AIX 5L Practical Performance Tools and Tuning Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.