ProcessMetric Object
-
pidInteger - Process id of the process. -
typeString - Process type. One of the following values:BrowserTabUtilityZygoteSandbox helperGPUPepper PluginPepper Plugin BrokerUnknown
-
serviceNameString (optional) - The non-localized name of the process. -
nameString (optional) - The name of the process. Examples for utility:Audio Service,Content Decryption Module Service,Network Service,Video Capture, etc. -
cpuCPUUsage - CPU usage of the process. -
creationTimeNumber - Creation time for this process. The time is represented as number of milliseconds since epoch. Since thepidcan be reused after a process dies, it is useful to use both thepidand thecreationTimeto uniquely identify a process. -
memoryMemoryInfo - Memory information for the process. -
sandboxedBoolean (optional) macOS Windows - Whether the process is sandboxed on OS level. -
integrityLevelString (optional) Windows - One of the following values:untrustedlowmediumhighunknown
© GitHub Inc.
Licensed under the MIT license.
https://www.electronjs.org/docs/latest/api/structures/process-metric