HP-UX Workload Manager User's Guide
WLM command reference
wlmsend
Appendix A 393
wlmsend
The wlmsend utility sends data to a rendezvous point for the wlmrcvdc
utility to collect. Use wlmsend on the command line, in a shell script, or
in a perl program.
For examples showing how to use wlmsend to get data to WLM, see
“What methods exist for sending data to WLM?” on page 493.
The syntax is:
wlmsend [-h] [-V] [-w wait_time] metric [value]
-h Displays usage information then exits. This option
overrides all other options.
-V Displays version information then exits. This option
overrides all other options except -h.
-w wait_time Waits wait_time seconds for the rendezvous point to
be created before exiting. The default is 5 seconds.
metric Sets the name of the rendezvous point to metric. This
argument is required and must match a metric string
specified in a goal, cpushares, condition, or
exception statement in the WLM configuration file.
value Designates the metric value to send to the rendezvous
point. This numeric argument must be the last
argument on the command line. If value is not
provided, metric values separated by white space will
be taken from standard input and sent to the
rendezvous point.
wlmrcvdc accepts any unit-less integer or
floating-point number. If a value is invalid, it is still
sent to the rendezvous point. However, wlmsend prints
an error message and exits with status 1.
You can use wlmsend to feed piped data to WLM:
glance_adviser_command | data_formatter | wlmsend metric