Open Collective
来源:Electron
浏览 482
扫码
分享
2019-11-10 13:30:27
ProcessMetric 对象
pid
Integer - 进程IDtype
String - Process type. One of the following values:
Browser
Tab
Utility
Zygote
Sandbox helper
GPU
Pepper Plugin
Pepper Plugin Broker
Unknown
cpu
CPUUsage - CPU使用率creationTime
Number - Creation time for this process. The time is represented as number of milliseconds since epoch. Since the pid
can be reused after a process dies, it is useful to use both the pid
and the creationTime
to uniquely identify a process.memory
MemoryInfo - 进程的内存信息。sandboxed
Boolean (optional) macOS Windows - Whether the process is sandboxed on OS level.integrityLevel
String (optional) Windows - One of the following values: