Linux O/S specific process information.
Fields
| Field Name | Description |
|---|---|
isBackground - Boolean!
|
True if the process is running in the background (not attached to a controlling terminal). |
userName - String!
|
The username of the user that owns this process. |
isForeground - Boolean!
|
True if the process is running in the foreground (attached to a controlling terminal). |
ioNice - Int!
|
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!
|
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!
|
The name of the terminal associated with the process, if any. Found at /proc/[pid]/stat. |
numFDs - Int!
|
Total number of file descriptors currently open by the process, returned as a signed 32-bit integer. Found at /proc/[pid]/fd. |
cpuAffinity - [Int!]!
|
The list of CPU cores this process is allowed to run on. |
environment - [EnvironmentVariable!]!
|
The list of environment variables set for this process. Found at /proc/[pid]/environ. |
status - ProcessStatus!
|
The current status of the process |
userIds - [Int!]!
|
The list of operating system user identifiers (UIDs) associated with this process. Found at /proc/[pid]/status. |
tGid - Int!
|
The thread group identifier (GID) of the process. Found at /proc/[pid]/stat. |
memoryStat - MemoryStat!
|
Memory usage statistics for the process. Found at /proc/[pid]/statm. |
pageFault - PageFault!
|
Page fault statistics for the process. Found at /proc/[pid]/stat. |
cpuTimeStats - [CpuTimesStat!]!
|
The list of threads in the process, with their respective CPU time statistics. Found at /proc/[pid]/task/[tid]/stat. |
rLimit - [RLimit!]!
|
The list of resource limits for the process. Found at /proc/[pid]/limits. |
ctxSwitches - CtxSwitchesStat!
|
Number Context switch statistics for the process. Found at /proc/[pid]/status. |
Used by
ProcessOsSpecificunion: OS-specific process information union type.
Example
Example
{
"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
}