Skip to content

ElectronProcessMetric

Unofficial

Memory and CPU usage statistics for a process associated with the app.

Import:

import type { ElectronProcessMetric } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ElectronProcessMetric

Properties

PropertyTypeDescription
cpuElectronCPUUsageCPU usage of the process.
creationTimenumberCreation time for this process, represented as number of milliseconds since epoch.
integrityLevel?'high' | 'low' | 'medium' | 'unknown' | 'untrusted'The security integrity level of the process. Windows only.
memoryElectronMemoryInfoMemory information for the process.
name?stringThe name of the process.
pidnumberProcess id of the process.
sandboxed?booleanWhether the process is sandboxed on OS level. macOS and Windows only.
serviceName?stringThe non-localized name of the process.
type'Browser' | 'GPU' | 'Pepper Plugin' | 'Pepper Plugin Broker' | 'Sandbox helper' | 'Tab' | 'Unknown' | 'Utility' | 'Zygote'Process type.

Links to this page: