OSProcess
OSProcess
represents a process in the operating system. It provides details about the process, including its name, ID, state, resources usage, and more.
Author
N7ghtm4r3
Inheritors
Properties
affinityMask
The CPU affinity mask for the process.
bytesWritten
The number of bytes written by the process.
commandLine
The full command line that was used to start the process.
contextSwitches
The number of context switches for the process.
currentWorkingDirectory
The current working directory of the process.
environmentVariables
A map of environment variables used by the process.
hardOpenFileLimit
The hard limit on the number of files the process can open.
kernelTime
The amount of time the process has spent in kernel mode, in milliseconds.
majorFaults
The number of major page faults for the process.
minorFaults
The number of minor page faults for the process.
parentProcessId
The process ID of the parent process.
processCpuLoadBetweenTicks
The CPU load of the process between two ticks, as a percentage.
processCpuLoadCumulative
The cumulative CPU load of the process as a percentage.
residentSetSize
The resident set size of the process, in bytes (physical memory used).
softOpenFileLimit
The soft limit on the number of files the process can open.
threadCount
The number of threads in the process.
threadDetails
The list of threads associated with the process.
updateAttributes
A flag indicating whether the process attributes should be updated.
virtualSize
The virtual memory size of the process, in bytes.