HP-UX Workload Manager User's Guide
Advanced WLM usage: Using performance metrics
Supplying data to WLM
Appendix H494
Table H-2 provides an overview of how to send your data to WLM. For
more information on the transport methods, read the sections following
the table.
Table H-2 Available transport methods
For sending data from The transport method is
Command-line/shell script On the command line or in a loop in a script:
wlmsend metric value
or
cmnd1 | cmnd2 | [... |] wlmsend metric
In combination with a tune structure in the
configuration file:
tune metric {
...
coll_argv = wlmrcvdc;
...
}
Perl In a loop in a perl program:
system “wlmsend $metric $value”;
or an open statement with the print statement in a
loop
open(WLM, “|wlmsend $metric”);
print WLM “$value\n”;
In combination with a tune structure in the
configuration file:
tune metric {
...
coll_argv = wlmrcvdc;
...
}