Owner's Manual
Installation 51
pmgetstatus
If you elect to autostart your Application Server, you can run the
pmgetstatus
script from a
command line to see the status of Application Servers. If you run
oware
first in the shell where you
run
pmgetstatus
, this script will automatically be on the path. Here is its usage (produced by
typing the script name followed by
-?
):
Usage: pmgetstatus [-h <Server IP>] [-p <Server Port>] [-i <Iterations>
[-r <Refresh Rate>]]
Oware utility for reporting status on managed server processes. By default,
the local host is queried for 1 iteration.
Options:
-h <Server IP> -- Server host IP. Defaults to local host
(127.0.0.1).
-p <Server Port> -- Process monitor command port.
Default loaded from
c:/work/oware/lib/pmstartup.dat
-i <Iterations> -- Number of times to repeat command, -1 is
infinite (requires Ctl-C).
-r <Refresh Rate> -- Refresh rate of iterative command in seconds.
Default is 5.
Requires -i option.
-? -- Show this help.
Windows Server Monitor
When you install your application as a service on Windows, you also install a server monitor. This
monitor is a client to the server manager which controls starting and stopping of an application
server.
Figure 2-1. Server Manager Client
Double click the tray icon to display the about panel.
OK
closes this dialog, but maintains the icon
in the tray, while
Exit
closes the Server Manager (client and tray icon).