ProcessMetric

external interface ProcessMetric(source)

Properties

Link copied to clipboard
abstract var cpu: CPUUsage

CPU usage of the process.

Link copied to clipboard
abstract var creationTime: Double

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.

Link copied to clipboard

One of the following values:

Link copied to clipboard
abstract var memory: MemoryInfo

Memory information for the process.

Link copied to clipboard
abstract var name: String?

The name of the process. Examples for utility: Audio Service, Content Decryption Module Service, Network Service, Video Capture, etc.

Link copied to clipboard
abstract var pid: Double

Process id of the process.

Link copied to clipboard
abstract var sandboxed: Boolean?

Whether the process is sandboxed on OS level.

Link copied to clipboard
abstract var serviceName: String?

The non-localized name of the process.

Link copied to clipboard
abstract var type: ProcessMetricType

Process type. One of the following values: