HP Operations Manager

List services


The List Services command lists the Windows services state on the target managed node and allows starting and stopping of particular services. There are several optional parameters for using this command. The complete parameter list is:

vpstat -3 [ServiceNames][ -n NodeName][ -d][ -s State][ -l][ -a]

or

vpstat -3 [ServiceNames][ -n NodeName][ -d] -r [action]

As defined above, there are two operational modes for this command. The first lists and checks for proper state The second mode uses the -r parameter to stop or start particular services.

By default (without any optional parameter), this command checks for critical HP Operations Manager for Windows services that need to be in active state on the node where the management server is installed. The services that must be up and running are configured in the vpstat.conf file.

With the optional ServiceName as the first parameter on the command line, you can specify the services that are checked directly. If a critical service that is not registered or not in active state is found, it is reported as an error.

Examples