Interface ISystemInfo

interface ISystemInfo {
    allSysInfo: () => Promise<AllSystemInfo>;
    batteries: () => Promise<Battery[]>;
    components: () => Promise<Component[]>;
    cpuCount: () => Promise<number>;
    cpuInfo: () => Promise<CpuInfo>;
    cpus: () => Promise<Cpu[]>;
    disks: () => Promise<Disk[]>;
    hostname: () => Promise<String>;
    kernelVersion: () => Promise<String>;
    memoryInfo: () => Promise<MemoryInfo>;
    name: () => Promise<String>;
    networks: () => Promise<Network[]>;
    osVersion: () => Promise<String>;
    processes: () => Promise<Process[]>;
    refreshAll: () => Promise<void>;
    refreshCpu: () => Promise<void>;
    refreshMemory: () => Promise<void>;
    refreshProcesses: () => Promise<void>;
    staticInfo: () => Promise<StaticInfo>;
    totalMemory: () => Promise<number>;
    totalSwap: () => Promise<number>;
    usedMemory: () => Promise<number>;
    usedSwap: () => Promise<number>;
}

Properties

allSysInfo: () => Promise<AllSystemInfo>
batteries: () => Promise<Battery[]>
components: () => Promise<Component[]>
cpuCount: () => Promise<number>
cpuInfo: () => Promise<CpuInfo>
cpus: () => Promise<Cpu[]>
disks: () => Promise<Disk[]>
hostname: () => Promise<String>
kernelVersion: () => Promise<String>
memoryInfo: () => Promise<MemoryInfo>
name: () => Promise<String>
networks: () => Promise<Network[]>
osVersion: () => Promise<String>
processes: () => Promise<Process[]>
refreshAll: () => Promise<void>
refreshCpu: () => Promise<void>
refreshMemory: () => Promise<void>
refreshProcesses: () => Promise<void>
staticInfo: () => Promise<StaticInfo>
totalMemory: () => Promise<number>
totalSwap: () => Promise<number>
usedMemory: () => Promise<number>
usedSwap: () => Promise<number>