WPAR counting

It is possible to monitor the system-wide activity of a specific WPAR from the Global WPAR. In this case, only the activity of the processes running in this WPAR will be monitored.

Several basic pmapi calls have the following per-WPAR variations indicated by the _wp suffix:

pm_set_program_wp, pm_set_program_wp_mm
Same as the pm_set_program subroutine or the pm_set_program_mm subroutine, except that the programming is set for the specified WPAR only (identified by its WPAR Configured ID). Notice that there is no pm_set_program_wp_mx subroutine.
pm_get_program, pm_get_program_wp
Same as the pm_get_program subroutine or the pm_get_program_wp subroutine, except that it retrieves the programming for the specified WPAR only (identified by its WPAR Configured ID). Notice that there is no pm_get_program_wp_mx subroutine.
pm_start_wp, pm_tstart, pm_start_wp, pm_tstart_wp
Same as the pm_start subroutine or the pm_tstartsubroutine, except that it targets a specific WPAR (identified by its WPAR Configured ID).
pm_stop_wp, pm_tstop, pm_stop_wp, pm_tstop_wp
Same as the pm_stop subroutine or the pm_tstop subroutine, except that it targets a specific WPAR (identified by its WPAR Configured ID).
pm_get_data_wp, pm_get_tdata_wp, pm_get_Tdata
Same as the pm_get_data subroutine or the pm_get_tdata subroutine or the pm_get_Tdata subroutine, except that it retrieves Performance Monitor counting data for the specified WPAR only (identified by its handle, see the pm_get_wplist subroutines).
pm_reset_data
Same as the pm_get_data routine or the pm_get_tdatasburoutine or the pm_get_Tdata subroutine, except that it retrieves Performance Monitor counting data for the specified WPAR only (identified by its handle, see the pm_get_wplist subroutines).
pm_get_wplist
Retrieves the list of WPARs contexts that were active during the last system-wide counting. A WPAR context includes the WPAR Configured ID, the WPAR name, and a WPAR handle that uniquely identifies the WPAR. The WPAR handle can then be used to retrieve the Performance Monitor counting data for a specified WPAR using one of the pm_get_data_wp subroutines.