---
type: api
title: Get process statistics
description: Get system-level process statistics.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/logstash/v9/operation/operation-nodestatsprocess
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/logstash/v9/operation/operation-nodestatsprocess
products:
  - Logstash
---

# Get process statistics

- Server: `/`

## Paths

- `GET` `/_node/stats/process`

- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/logstash/v9/authentication#basicauth)

## Description

Get system-level process statistics.

## Query String Parameters

- `pretty` (boolean)
  If you append `?pretty=true` to the request, the JSON returned will be pretty formatted. Use it for debugging only!

## Response

A JSON object containing process statistics.

`application/json`

- `process` (object)
  - `open_file_descriptors` (integer)
  - `peak_open_file_descriptors` (integer)
  - `max_file_descriptors` (integer)
  - `mem` (object)
    - `total_virtual_in_bytes` (integer)
  - `cpu` (object)
    - `total_in_millis` (integer)
    - `percent` (integer)
    - `load_average` (object)
      - `1m` (number)
## Code Examples

#### Console

```console
GET /_node/stats/process
```

#### curl

```curl
curl -X GET "/_node/stats/process"
```

## Response Examples

#### 200

```json
{
  "process": {
    "open_file_descriptors": 221,
    "peak_open_file_descriptors": 221,
    "max_file_descriptors": 10240,
    "mem": {
      "total_virtual_in_bytes": 428771917824
    },
    "cpu": {
      "total_in_millis": 74913,
      "percent": 0,
      "load_average": {
        "1m": 6.06201171875
      }
    }
  }
}
```

