You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/registry/attributes/process.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ An operating system process.
40
40
| <aid="process-saved-user-id"href="#process-saved-user-id">`process.saved_user.id`</a> | int | The saved user ID (SUID) of the process. |`1002`||
41
41
| <aid="process-saved-user-name"href="#process-saved-user-name">`process.saved_user.name`</a> | string | The username of the saved user. |`operator`||
42
42
| <aid="process-session-leader-pid"href="#process-session-leader-pid">`process.session_leader.pid`</a> | int | The PID of the process's session leader. This is also the session ID (SID) of the process. |`14`||
43
+
| <aid="process-state"href="#process-state">`process.state`</a> | string | The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES)|`running`||
43
44
| <aid="process-title"href="#process-title">`process.title`</a> | string | Process title (proctitle) [3]|`cat /etc/hostname`; `xfce4-session`; `bash`||
44
45
| <aid="process-user-id"href="#process-user-id">`process.user.id`</a> | int | The effective user ID (EUID) of the process. |`1001`||
45
46
| <aid="process-user-name"href="#process-user-name">`process.user.name`</a> | string | The username of the effective user of the process. |`root`||
@@ -70,6 +71,17 @@ with value `"/usr/local/bin:/usr/bin"`.
`process.state` 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.
| <aid="system-process-status"href="#system-process-status">`system.process.status`</a> | string | The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES)|`running`||
120
-
121
-
---
122
-
123
-
`system.process.status` 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.
| <aid="system-cpu-state"href="#system-cpu-state">`system.cpu.state`</a> | string | Deprecated, use `cpu.mode` instead. |`idle`; `interrupt`|<br>Replaced by `cpu.mode`. |
140
120
| <aid="system-network-state"href="#system-network-state">`system.network.state`</a> | string | Deprecated, use `network.connection.state` instead. |`close_wait`|<br>Replaced by `network.connection.state`. |
141
121
| <aid="system-paging-type"href="#system-paging-type">`system.paging.type`</a> | string | Deprecated, use `system.paging.fault.type` instead. |`minor`|<br>Replaced by `system.paging.fault.type`. |
142
-
| <aid="system-processes-status"href="#system-processes-status">`system.processes.status`</a> | string | Deprecated, use `system.process.status` instead. |`running`|<br>Replaced by `system.process.status`. |
122
+
| <aid="system-process-status"href="#system-process-status">`system.process.status`</a> | string | Deprecated, use `process.state` instead. |`running`|<br>Replaced by `process.state`. |
123
+
| <aid="system-processes-status"href="#system-processes-status">`system.processes.status`</a> | string | Deprecated, use `process.state` instead. |`running`|<br>Replaced by `process.state`. |
143
124
144
125
---
145
126
@@ -185,6 +166,17 @@ Deprecated system attributes.
185
166
186
167
---
187
168
169
+
`system.process.status` 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.
`system.processes.status` 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.
|[`system.process.status`](/docs/registry/attributes/system.md)| string | The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES)|`running`|`Recommended`||
1114
+
|[`process.state`](/docs/registry/attributes/process.md)| string | The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES)|`running`|`Recommended`||
1115
1115
1116
1116
---
1117
1117
1118
-
`system.process.status` 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.
1118
+
`process.state` 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.
0 commit comments