---
title: "Return service status"
method: GET
path: "/servicestatus"
tags: ["Server Administration", "Services"]
---

# Return service status

`GET /servicestatus`

This function reports which services (daemons) are enabled, installed, and monitored on your server.

## Query parameters

- `service` string

## Response `200`

HTTP Request was successful.

- object
  - `data` object
    - `service` object[] — An object containing service information. **Note:** Certain [server profiles](https://go.cpanel.net/howtouseserverprofiles) **disable** specific services. For example, the Mail profile's `ftpd` service would return a `0` value for the `enabled`, `installed`, and `monitored` returns.
      - `display_name` string — The service's full name.
      - `enabled` 0 | 1 — Whether the service is enabled. * `1` - Enabled. * `0` - Disabled. If a server profile **disables** a service, this returns a `0` value.
      - `installed` 0 | 1 — Whether the service is installed. * `1` - Installed. * `0` - Uninstalled. If a server profile **disables** a service, this returns a `0` value.
      - `monitored` 0 | 1 — Whether the server monitors the service. * `1` - Monitored. * `0` - Not monitored. If a server profile **disables** a service, this returns a `0` value.
      - `name` string — The service's short name. * apache_php_fpm * clamd * cpanel-dovecot-solr * cpanel_php_fpm * cpanellogd * cpdavd * cpgreylistd * cphulkd * cpsrvd * crond * dnsadmin * exim * exim-altport * ftpd * httpd * imap * ipaliases * lmtp * mailman * mysql * named * nscd * p0f * pop * postgresql * queueprocd * rsyslogd * spamd * sshd * syslogd * tailwatchd **Note:** For more information about these services, read our [Service Manager](https://go.cpanel.net/whmdocsServiceManager) documentation.
      - `running` 0 | 1 — Whether the service currently runs on the server. **Note:** The function does **not** return this parameter if the server does **not** monitor the service. * `1` - Running. * `0` - Not running.
  - `metadata` object
    - `command` string — The method name called.
    - `reason` string — The reason the API function failed when the `metadata.result` field is `0`. This field may display a success message when a function succeeds.
    - `result` 0 | 1 — * `1` - Success * `0` - Failed: Check the reason field for more details.
    - `version` integer — The version of the API function.

---

[API](https://skmtc.net/cpanel/apis/whm-api.md) · [All operations](https://skmtc.net/cpanel/apis/whm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/whm-api/revisions/3da41671c02c/schema)
