HP-UX Utilization Provider A.01.08.08.00 Data Sheet

WorkloadDescription;
string SGPackageName;
Local
This field represents the Service Guard package
name that this workload is associated with. This
attribute can be set with the
setSGPackageName() method. When this value
is set, the workload will be dynamically activated
and deactivated depending on the st
ate of the
Service Guard package.
boolean ActiveWorkload;
Local
This field is true if the workload is presently
being watched. If a user calls the
stopWatchingWorkload() method
, the data will
not be deleted for the workload. Instead, the
data will still b
e accessible until the normal
housekeeping mechanism prunes the data
directory.
uint8 CriteriaType[];
Values{Unknown,
User,
Executable,
Group,
Process },
ValueMap {0, 1, 2, 3, 4 }
Local
This field represents the type of criteria being
watched for this
workload (user, executable, and
so on
). The indexes of the values in this array
relate to the indexes of the values in the
CriteriaName and AlternateCriteriaName arrays.
This array will be empty for the OTHER instance.
string CriteriaName[];
Local
This field represents the value of criteria being
watched for this workload (user's name,
executable's path). See note for
AlternateCriteriaName for
information about
processes with script
-style process table
signatures. This array will be empty for the
OTHER instance.
string
AlternateCriteriaName[];
Local
This field represents an alternate name for the
criteria. This is used when an executable appears
in the process
table as '/usr/bin/perl
script_name'. The CriteriaName in this case
would be '/usr/bin/perl' and the
AlternateCriteriaName would be 'script_name'.
Since this is an optional field, some indexes will
be null if an AlternateCriteriaName was not
specified. Thi
s array will be empty for the OTHER
instance.
Table 8 Non-Standard intrinsic methods supported by HP_WorkloadUtilization
This table describes the non-standard intrinsic methods supported by
HP_WorkloadUtilization.
Method Name
Inherited from
getCurrentUtilization() HP_Utilization
setGUID()
HP_Utilization
Table 9 HP_WorkloadUtilization extrinsic methods
This table describes the extrinsic methods of HP_WorkloadUtilization class.
Method Name
Description
Exception thrown
sint8 watchWorkload(
[in] string WorkloadDescription,
[in] uint8 CriteriaType[],
[in] string CriteriaName[],
[in] string AlternateCriteriaName[],
[in] string SGPackageName);
Method that will cause the Utilization Provider to
begin watching a workload's utilization. The
utilization will be watched until the
stopWatchingWorkload() method is called. The
type, value, and altername name arrays should
have correlated indexes.
This means that the
CriteriaType in the first index s
hould have its
value in the first index of the CriteriaValue array
(and so on). For more details about the values
that can be passed for these input parameters,
CIMOperationFailedException can be thrown on
failure, or CIMAccessDeniedException if the user
has insufficient authority.