Monitoring gwlm from the command line, Message logs, Monitoring gwlm from the command line message logs – HP Matrix Operating Environment Software User Manual
Page 28
Monitoring gWLM from the command line
There are several command-line tools for monitoring gWLM. These commands are added to the
path during installation. On HP-UX systems, the commands are in /opt/gwlm/bin/. On
Microsoft Windows systems, the commands are in C:\Program Files\HP\Virtual Server
Environment\bin\gwlm\
by default. However, a different path might have been selected at
installation.
NOTE:
You must be logged in as root on HP-UX or into an account that is a member of the
Administrators group on Windows to run the commands below.
•
gwlm monitor
The gwlm command, available only on a CMS, has a monitor subcommand that displays
policy, workload, and SRD statistics.
•
gwlmreport
This command, available only on a CMS, provides various types of reports: topborrowers,
resourceaudit
, abnormalutil, and extract (which provides data in comma-separated
values for use in other tools). It also provides an ovpafeed option that extracts data for use
with OpenView Performance Agent via data source integration (DSI). In addition, it can
generate a config report showing the history of configuration changes.
•
gwlmstatus
The gwlmstatus command, available only on managed nodes, displays status information
for a managed node's agent and SRD. The information displayed includes:
— Whether gwlmagent is running
— The version of the installed gwlmagent
— The SRD to which the current node belongs (if a member of a deployed SRD)
— Master node of the deployed SRD
— Whether hosts in the SRD are nonresponsive
— Whether the host's SRD is the most recently deployed SRD on the CMS (This knowledge
can be useful in determining failed deployments.)
— Whether any hosts are unable to rejoin the SRD
For more information, see gwlm(1M), gwlmreport(1M), or gwlmstatus(1M).
Message logs
For messages about gWLM’s ongoing operations, gWLM logs error and informational messages,
as well as statistics, to one of several log files:
Table 3-1 gWLM log files
Location
Log for
HP-UX: /var/opt/gwlm/gwlmcmsd.log.0
Windows: C:\Program Files\HP\Virtual Server
Environment\logs\gwlmcmsd.log.0
gwlmcmsd
daemon or service
HP-UX: /var/opt/gwlm/gwlmagent.log.0
Windows: Not applicable
gwlmagent
daemon
28
Monitoring workloads and gWLM