---
title: Process type | Wartiva GraphQL API
description: An operating system process. Wartiva GraphQL API reference with arguments, fields, and examples. Browse related operations and types.
url: https://wartiva.com/api-docs/types/process.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL type

# `Process` type

An operating system process.

## Fields

| Field Name | Description |
|---|---|
| `pid` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | The process identifier (PID) for this process on the Endpoint where it was seen. |
| `name` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The name of the process' executable file. |
| `path` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The full path to the executable file. |
| `commandLineArgs` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The executable file path followed by the command line options at invocation. |
| `workingDir` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The file system directory the process was invoked from. |
| `executableOnDisk` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | True of the process' executable file is found on the disk. |
| `memory` - [`ProcessMemory!`](https://wartiva.com/api-docs/types/process-memory.html) | Information about the process' memory utilization. |
| `disk` - [`ProcessDisk!`](https://wartiva.com/api-docs/types/process-disk.html) | The process' usage of hard disks. |
| `startTime` - [`Time`](https://wartiva.com/api-docs/types/time.html) | The time the process was started if available. |
| `parent` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | The process identifier (PID) of this process' parent process. |
| `processGroup` - [`[Int]`](https://wartiva.com/api-docs/types/int.html) | The process group's identifiers (PIDs) if available. |
| `threads` - [`Uint64`](https://wartiva.com/api-docs/types/uint64.html) | The number of threads or light-weight-process' (LWP) the process has. |
| `elapsedTime` - [`DurationMs`](https://wartiva.com/api-docs/types/duration-ms.html) | The duration the process has been running if available. |
| `cpuPercent` - [`Float!`](https://wartiva.com/api-docs/types/float.html) | The percentage of CPU time used by this process, on a 0 to 100 scale (not a 0 to 1 fraction), e.g. 62.5 meaning 62.5%. |
| `openFiles` - [`[OpenFile!]`](https://wartiva.com/api-docs/types/open-file.html) | Files currently open by this process. |
| `openSockets` - [`[OpenSocket!]`](https://wartiva.com/api-docs/types/open-socket.html) | Sockets currently opened by this process. |
| `osSpecific` - [`ProcessOsSpecific`](https://wartiva.com/api-docs/types/process-os-specific.html) | Operating specific attributes of this process. |

## Used by

- [`ProcessesPayload`](https://wartiva.com/api-docs/types/processes-payload.html) type: Payload for the processes query.

## Example

### Example

```json
{
  "pid": 987,
  "name": "abc123",
  "path": "abc123",
  "commandLineArgs": "xyz789",
  "workingDir": "xyz789",
  "executableOnDisk": false,
  "memory": ProcessMemory,
  "disk": ProcessDisk,
  "startTime": "2021-10-07T18:23:25.829Z",
  "parent": 123,
  "processGroup": [123],
  "threads": "8589934592",
  "elapsedTime": "600",
  "cpuPercent": 123.45,
  "openFiles": [OpenFile],
  "openSockets": [OpenSocket],
  "osSpecific": ProcessWindows
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
