---
title: CpuTimesStat type | Wartiva GraphQL API
description: Represents CPU time statistics for a specific CPU or thread. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/cpu-times-stat.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL type

# `CpuTimesStat` type

Represents CPU time statistics for a specific CPU or thread.

## Fields

| Field Name | Description |
|---|---|
| `cpu` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The name or identifier of the CPU. |
| `user` - [`Duration!`](https://wartiva.com/api-docs/types/duration.html) | Time spent in user mode. |
| `system` - [`Duration!`](https://wartiva.com/api-docs/types/duration.html) | Time spent in system (kernel) mode. |
| `idle` - [`Duration!`](https://wartiva.com/api-docs/types/duration.html) | Time spent idle. |
| `nice` - [`Duration!`](https://wartiva.com/api-docs/types/duration.html) | Time spent in user mode with low priority (nice). |
| `ioWait` - [`Duration!`](https://wartiva.com/api-docs/types/duration.html) | Time waiting for I/O to complete. |
| `irq` - [`Duration!`](https://wartiva.com/api-docs/types/duration.html) | Time servicing hardware interrupts. |
| `softirq` - [`Duration!`](https://wartiva.com/api-docs/types/duration.html) | Time servicing software interrupts. |
| `steal` - [`Duration!`](https://wartiva.com/api-docs/types/duration.html) | Time spent in other operating systems when running in a virtualized environment. |
| `guest` - [`Duration!`](https://wartiva.com/api-docs/types/duration.html) | Time spent running a virtual CPU for guest operating systems under the control of the Linux kernel. |
| `guestNice` - [`Duration!`](https://wartiva.com/api-docs/types/duration.html) | Time spent running a niced guest (virtual CPU for guest operating systems). |

## Used by

- [`ProcessLinux`](https://wartiva.com/api-docs/types/process-linux.html) type: Linux O/S specific process information.

## Example

### Example

```json
{
  "cpu": "xyz789",
  "user": "600000000",
  "system": "600000000",
  "idle": "600000000",
  "nice": "600000000",
  "ioWait": "600000000",
  "irq": "600000000",
  "softirq": "600000000",
  "steal": "600000000",
  "guest": "600000000",
  "guestNice": "600000000"
}

```

---

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