pm_delete_program and pm_delete_program_wp Subroutines

Purpose

Deletes previously established system-wide Performance Monitor settings.

Library

Performance Monitor APIs Library (libpmapi.a)

Syntax

#include <pmapi.h>

int pm_delete_program ()
int pm_delete_program_wp (cid_t cid)

Description

The pm_delete_program subroutine deletes previously established system-wide Performance Monitor settings.

The pm_delete_program_wp subroutine deletes previously established system-wide Performance Monitor settings for a specified workload partition (WPAR).

Parameters

Item Description
cid Specifies the identifier of the WPAR for which the programming is to be deleted. The CID can be obtained from the WPAR name using the getcorralid subroutine.

Return Values

Item Description
0 No errors occurred.
Positive error code Refer to the pm_error (pm_error Subroutine) subroutine to decode the error code.

Error Codes

Refer to the pm_error (pm_error Subroutine) subroutine.

Files

Item Description
/usr/include/pmapi.h Defines standard macros, data types, and subroutines.