Open topic with navigation

# GetServices

The `GetServices` action returns the following information for each service:

- Whether the service is registered.
- The executable path, working directory, and configuration path of the service.
- The port, service port, and index port of the service, when available.
- If the service is an ACI server, the product type of the service.
- The name, type, and labels of the service, as specified with the AddService action.
- The control method, Service Control Manager Windows service name, and Linux script name, as specified with the AddService action.
- The current state of the service (running, stopped, starting, stopping,or unknown)

You can filter the list of services using the name, type, or labels that you set up as part of the AddService action.

## Parameters

Parameter | Description | Required
--- | --- | ---
Labels | Any labels associated with the service. |
Name | A name for the service. |
Type | A description of the type of service. |

## Comments

You can also send the `GetServices` action from HPE Coordinator by specifying a comma-separated list of HPE Controller UUIDs.

For example:

`a=GetServices&controllerUUUIDS=d267cf80-063a-8030-a2de-24be0523821c,4e572f80-460c-8030-a2de-005056bd31f6`

This action returns the information listed above for the HPE Controller servers with the specified UUIDs. For more information, refer to the HPE Coordinator Reference.

Related Topics

- AddService
- EditServiceInfo
- FindServices
- RemoveService
- RestartService
- StartService
- StopService

© 2013 - 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm