29 lines
1.5 KiB
Markdown
29 lines
1.5 KiB
Markdown
<!-- NOTE: THIS FILE IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
|
|
<!-- see templates/registry/markdown/attribute_namespace.md.j2 -->
|
|
|
|
# CPU
|
|
|
|
## CPU Attributes
|
|
|
|
Attributes specific to a cpu instance.
|
|
|
|
| Attribute | Type | Description | Examples | Stability |
|
|
|---|---|---|---|---|
|
|
| <a id="cpu-logical-number" href="#cpu-logical-number">`cpu.logical_number`</a> | int | The logical CPU number [0..n-1] | `1` |  |
|
|
| <a id="cpu-mode" href="#cpu-mode">`cpu.mode`</a> | string | The mode of the CPU | `user`; `system` |  |
|
|
|
|
---
|
|
|
|
`cpu.mode` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
|
|
|
|
| Value | Description | Stability |
|
|
|---|---|---|
|
|
| `idle` | Idle |  |
|
|
| `interrupt` | Interrupt |  |
|
|
| `iowait` | IO Wait |  |
|
|
| `kernel` | Kernel |  |
|
|
| `nice` | Nice |  |
|
|
| `steal` | Steal |  |
|
|
| `system` | System |  |
|
|
| `user` | User |  |
|