---
title: ProcessLinux type | Wartiva GraphQL API
description: Linux O/S specific process information. Wartiva GraphQL API reference with arguments, fields, and examples. Browse related operations and types.
url: https://wartiva.com/api-docs/types/process-linux.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL type

# `ProcessLinux` type

Linux O/S specific process information.

## Fields

| Field Name | Description |
|---|---|
| `isBackground` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | True if the process is running in the background (not attached to a controlling terminal). |
| `userName` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The username of the user that owns this process. |
| `isForeground` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | True if the process is running in the foreground (attached to a controlling terminal). |
| `ioNice` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | The I/O scheduling class (ionice) value for the process, returned as a signed 32-bit integer. Lower values indicate higher priority for I/O operations. |
| `nice` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | The process "nice" value, which affects its scheduling priority, returned as a signed 32-bit integer. Lower values mean higher priority. Found at /proc/[pid]/stat. |
| `terminal` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The name of the terminal associated with the process, if any. Found at /proc/[pid]/stat. |
| `numFDs` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | Total number of file descriptors currently open by the process, returned as a signed 32-bit integer. Found at /proc/[pid]/fd. |
| `cpuAffinity` - [`[Int!]!`](https://wartiva.com/api-docs/types/int.html) | The list of CPU cores this process is allowed to run on. |
| `environment` - [`[EnvironmentVariable!]!`](https://wartiva.com/api-docs/types/environment-variable.html) | The list of environment variables set for this process. Found at /proc/[pid]/environ. |
| `status` - [`ProcessStatus!`](https://wartiva.com/api-docs/types/process-status.html) | The current status of the process |
| `userIds` - [`[Int!]!`](https://wartiva.com/api-docs/types/int.html) | The list of operating system user identifiers (UIDs) associated with this process. Found at /proc/[pid]/status. |
| `tGid` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | The thread group identifier (GID) of the process. Found at /proc/[pid]/stat. |
| `memoryStat` - [`MemoryStat!`](https://wartiva.com/api-docs/types/memory-stat.html) | Memory usage statistics for the process. Found at /proc/[pid]/statm. |
| `pageFault` - [`PageFault!`](https://wartiva.com/api-docs/types/page-fault.html) | Page fault statistics for the process. Found at /proc/[pid]/stat. |
| `cpuTimeStats` - [`[CpuTimesStat!]!`](https://wartiva.com/api-docs/types/cpu-times-stat.html) | The list of threads in the process, with their respective CPU time statistics. Found at /proc/[pid]/task/[tid]/stat. |
| `rLimit` - [`[RLimit!]!`](https://wartiva.com/api-docs/types/rlimit.html) | The list of resource limits for the process. Found at /proc/[pid]/limits. |
| `ctxSwitches` - [`CtxSwitchesStat!`](https://wartiva.com/api-docs/types/ctx-switches-stat.html) | Number Context switch statistics for the process. Found at /proc/[pid]/status. |

## Used by

- [`ProcessOsSpecific`](https://wartiva.com/api-docs/types/process-os-specific.html) union: OS-specific process information union type.

## Example

### Example

```json
{
  "isBackground": false,
  "userName": "abc123",
  "isForeground": true,
  "ioNice": 123,
  "nice": 123,
  "terminal": "xyz789",
  "numFDs": 123,
  "cpuAffinity": [987],
  "environment": [EnvironmentVariable],
  "status": "RUNNING",
  "userIds": [987],
  "tGid": 987,
  "memoryStat": MemoryStat,
  "pageFault": PageFault,
  "cpuTimeStats": [CpuTimesStat],
  "rLimit": [RLimit],
  "ctxSwitches": CtxSwitchesStat
}

```

---

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