Skip to main content

ProcessMetric 对象

🌐 ProcessMetric Object

  • pid Integer - 该进程的进程 ID。
  • type string - 进程类型。以下值之一:
    • Browser
    • Tab
    • Utility
    • Zygote
    • Sandbox helper
    • GPU
    • Pepper Plugin
    • Pepper Plugin Broker
    • Unknown
  • serviceName string(optional)- 该过程的非本地化名称。
  • name string(optional)- 该过程的名称。实用示例:Audio ServiceContent Decryption Module ServiceNetwork ServiceVideo Capture 等。
  • cpu CPUUsage - 该进程的CPU使用率。
  • creationTime number - 此进程的创建时间。时间以自纪元以来的毫秒数表示。由于 pid 在进程结束后可以重用,因此使用 pidcreationTime 来唯一标识一个进程是很有用的。
  • memory MemoryInfo - 该进程的内存信息。
  • sandboxed boolean (optional) macOS Windows - 该进程是否在操作系统级别被沙箱化。
  • integrityLevel string (optional) Windows - 以下值之一:
    • untrusted
    • low
    • medium
    • high
    • unknown