Using HP-UX Workload Manager: A quick reference
6
3. Note what messages a WLM startup produces. Start another session to view the WLM message
log:
# tail -f /var/opt/wlm/msglog
08/29/06 08:35:23 [I] (p6128) wlmd initial command line:
08/29/06 08:35:23 [I] (p6128) argv[0]=/opt/wlm/bin/wlmd
08/29/06 08:35:23 [I] (p6128) argv[1]=-a
08/29/06 08:35:23 [I] (p6128) argv[2]=/opt/wlm/examples/userguide/multiple_gro
ups.wlm
08/29/06 08:35:23 [I] (p6128) what: @(#)HP-UX WLM A.03.02 (2006_08_21_17_04_11)
hpux_11.00
08/29/06 08:35:23 [I] (p6128) dir: @(#) /opt/wlm
08/29/06 08:35:23 [I] (p6128) SLO file path: /opt/wlm/examples/userguide/multipl
e_groups.wlm
08/29/06 08:35:26 [I] (p6128) wlmd 6128 starting
The text in the log shows when the WLM daemon wlmd started, as well as what arguments it was
started with—including the configuration file used.
4. Check that the workload groups are in effect.
The prmlist command shows current configuration information. This HP Process Resource
Manager (PRM) command is available because WLM uses PRM to provide some of the WLM
functionality. For more information on the prmlist command, see the “prmlist” section on page 31.
# /opt/prm/bin/prmlist
PRM configured from file: /var/opt/wlm/tmp/wmprmBAAa06335
File last modified: Thu Aug 29 08:35:23 2006
PRM Group PRMID CPU Upper LCPU
Entitlement Bound Attr
----------------------------------------------------------------
OTHERS 1 65.00%
g2 2 15.00%
g3 3 20.00%
PRM User Initial Group Alternate Group(s)
--------------------------------------------------------------------------------
root (PRM_SYS)
PRM Application Assigned Group Alternate Name(s)
--------------------------------------------------------------------------------
/opt/perl/bin/perl g2 loop2.pl
/opt/perl/bin/perl g3 loop3.pl
A Web interface to the prmlist command is available. For information, see the wlm_watch(1M)
manpage.