Javascript must be enabled to download our products and perform other essential functions on the website.

ionicons-v5-m
ionicons-v5-j
Buy Now Download Free Trial
ionicons-v5-m
ionicons-v5-f

Command Line Options

Starting PA Server Monitor applications with command line options is not typically needed. They are however useful for automating certain configuration changes.

Console.exe Command Line Options

/AUTO_LOGIN

This option essentially presses the OK button automatically on the login dialog, using whatever settings were previously used.

/PASSWORD={password}

Not recommended, but this can be used to automate logging in to the Console. If PASSWORD, SERVER and USER are all given on the command line, the Console will login automatically without needing to press OK at the login prompt.

/SERVER={hostname}:{port}

Pre-fill the Host name and Port fields in the initial Console connection dialog. This would be useful for creating shortcuts to different installations, or for connection from different locations (such as a laptop connecting from work or from home where the hostname might be different).

/USER={username}

Pre-fill the User name field in the initial Console connection dialog. This would be useful for creating shortcuts to different installations, or for connection from different locations (such as a laptop connecting from work or from home where the hostname might be different).

/FORCE_DEBUG_DUMP

Occasionally Support will request that you obtain a crash dump to send for diagnostic purposes. This command line option will force the monitoring service to crash and create the crash dump file. After the service self-crashes, it will automatically restart and begin monitoring again.

The crash dump file will be in the same directory as the product's internal log files -- the directory is shown at the bottom of the Settings dialog.

ServerMonSvc.exe Command Line Options

/ADDSERVER={servername} /WMI={0|1} /WIN={0|1}
/CONFIG={full path to exported server config file}

This option allows you to use ServerMonSvc.exe in batch scripts that can add servers to the system to be monitored. This works very similar to the ADD_SERVER command in the External API.

WIN and WMI are both optional values that default to 0. If set to 1, it indicates the server is a Windows server and should be polled with WMI respectively.

CONFIGFILE is a required parameter. The configuration file must have been exported from an individual server as explained here.. The configuration in that file will be applied to the named server. If the server does not exist yet, it will be created first.

/DELSERVER={servername}

This option allows you to use ServerMonSvc.exe in batch scripts that might need to delete a server and it's associated monitors. This works very similar to the DELETE_SERVER command in the External API.

/CONFIGFILE={full path to exported server config file}

The same as running: /ADDSERVER={local_computer_name} /CONFIG={full path to exported server config file}

This option is useful for use in installing a configuration from a build script for custom/OEM hardware installations.

/COMPRESS_DATABASES

If you are using the embedded database (see Database Settings), the database is stored as a collection of files. To shrink the database files after having freed up space:

  1. Stop the monitoring service
  2. Run: ServerMonSvc.exe /COMPRESS_DATABASES
  3. After it finishes, restart the monitoring service

/U

Uninstall the PA Server Monitor service. -S can be appended to hide the confirmation dialog.

/I

Install the PA Server Monitor service. -S can be appended to hide the confirmation dialog.

/C

To launch ServerMonSvc.exe directly from the command line (ie, do not run as a service). -S can be appended to hide the confirmation dialog.

/DIAGNOSTICS

Rarely used, this option display a diagnostic dialog for getting some internal system state.

PA Server Monitor

Help Map