Skip to content

Commit

Permalink
refactor: move attribute to process namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
rogercoll committed Oct 11, 2024
1 parent ec70436 commit 4a0cc30
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 61 deletions.
13 changes: 0 additions & 13 deletions docs/attributes-registry/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

# Linux

- [Linux Memory Attributes](#linux-memory-attributes)
- [Linux Process Attributes](#linux-process-attributes)

## Linux Memory Attributes

Describes Linux Memory attributes
Expand All @@ -23,13 +20,3 @@ Describes Linux Memory attributes
| --------------- | ------------- | ---------------------------------------------------------------- |
| `reclaimable` | reclaimable | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `unreclaimable` | unreclaimable | ![Experimental](https://img.shields.io/badge/-experimental-blue) |

## Linux Process Attributes

Describes Linux Process attributes

| Attribute | Type | Description | Examples | Stability |
| ---------------------- | ------ | -------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| `linux.process.cgroup` | string | The control group associated with the process. [1] | `1:name=systemd:/user.slice/user-1000.slice/session-3.scope`; `0::/user.slice/user-1000.slice/[email protected]/tmux-spawn-0267755b-4639-4a27-90ed-f19f88e53748.scope` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |

**[1]:** Control groups (cgroups) are a kernel feature used to organize and manage process resources. This attribute provides the cgroup(s) path that the process belongs to.
Loading

0 comments on commit 4a0cc30

Please sign in to comment.