123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989 |
- // Type definitions for systeminformation
- // Project: https://github.com/sebhildebrandt/systeminformation
- // Definitions by: sebhildebrandt <https://github.com/sebhildebrandt>
- export namespace Systeminformation {
- // 1. General
- interface TimeData {
- current: string;
- uptime: string;
- timezone: string;
- timezoneName: string;
- }
- // 2. System (HW)
- interface RaspberryRevisionData {
- manufacturer: string;
- processor: string;
- type: string;
- revision: string;
- }
- interface SystemData {
- manufacturer: string;
- model: string;
- version: string;
- serial: string;
- uuid: string;
- sku: string;
- virtual: boolean;
- virtualHost?: string;
- raspberry?: RaspberryRevisionData;
- }
- interface BiosData {
- vendor: string;
- version: string;
- releaseDate: string;
- revision: string;
- serial?: string;
- language?: string;
- features?: string[];
- }
- interface BaseboardData {
- manufacturer: string;
- model: string;
- version: string;
- serial: string;
- assetTag: string;
- memMax: number | null;
- memSlots: number | null;
- }
- interface ChassisData {
- manufacturer: string;
- model: string;
- type: string;
- version: string;
- serial: string;
- assetTag: string;
- sku: string;
- }
- // 3. CPU, Memory, Disks, Battery, Graphics
- interface CpuData {
- manufacturer: string;
- brand: string;
- vendor: string;
- family: string;
- model: string;
- stepping: string;
- revision: string;
- voltage: string;
- speed: number;
- speedMin: number;
- speedMax: number;
- governor: string;
- cores: number;
- physicalCores: number;
- efficiencyCores?: number;
- performanceCores?: number;
- processors: number;
- socket: string;
- flags: string;
- virtualization: boolean;
- cache: CpuCacheData;
- }
- interface CpuCacheData {
- l1d: number;
- l1i: number;
- l2: number;
- l3: number;
- }
- interface CpuCurrentSpeedData {
- min: number;
- max: number;
- avg: number;
- cores: number[];
- }
- interface CpuTemperatureData {
- main: number;
- cores: number[];
- max: number;
- socket?: number[];
- chipset?: number;
- }
- interface MemData {
- total: number;
- free: number;
- used: number;
- active: number;
- available: number;
- buffcache: number;
- buffers: number;
- cached: number;
- slab: number;
- swaptotal: number;
- swapused: number;
- swapfree: number;
- }
- interface MemLayoutData {
- size: number;
- bank: string;
- type: string;
- ecc?: boolean | null;
- clockSpeed: number | null;
- formFactor: string;
- manufacturer?: string;
- partNum: string;
- serialNum: string;
- voltageConfigured: number | null;
- voltageMin: number | null;
- voltageMax: number | null;
- }
- interface SmartData {
- json_format_version: number[];
- smartctl: {
- version: number[];
- platform_info: string;
- build_info: string;
- argv: string[];
- exit_status: number;
- };
- device: {
- name: string;
- info_name: string;
- type: string;
- protocol: string;
- };
- model_family?: string,
- model_name?: string,
- serial_number?: string,
- firmware_version?: string,
- smart_status: {
- passed: boolean;
- };
- trim?: {
- supported: boolean;
- },
- ata_smart_attributes?: {
- revision: number;
- table: {
- id: number;
- name: string;
- value: number;
- worst: number;
- thresh: number;
- when_failed: string;
- flags: {
- value: number;
- string: string;
- prefailure: boolean;
- updated_online: boolean;
- performance: boolean;
- error_rate: boolean;
- event_count: boolean;
- auto_keep: boolean;
- };
- raw: { value: number; string: string; };
- }[];
- };
- ata_smart_error_log?: {
- summary: {
- revision: number;
- count: number;
- };
- };
- ata_smart_self_test_log?: {
- standard: {
- revision: number;
- table: {
- type: {
- value: number;
- string: string;
- },
- status: {
- value: number;
- string: string;
- passed: boolean;
- },
- lifetime_hours: number;
- }[];
- count: number;
- error_count_total: number;
- error_count_outdated: number;
- };
- };
- nvme_pci_vendor?: {
- id: number,
- subsystem_id: number;
- },
- nvme_smart_health_information_log?: {
- critical_warning?: number,
- temperature?: number,
- available_spare?: number,
- available_spare_threshold?: number,
- percentage_used?: number,
- data_units_read?: number,
- data_units_written?: number,
- host_reads?: number,
- host_writes?: number,
- controller_busy_time?: number,
- power_cycles?: number,
- power_on_hours?: number,
- unsafe_shutdowns?: number,
- media_errors?: number,
- num_err_log_entries?: number,
- warning_temp_time?: number,
- critical_comp_time?: number,
- temperature_sensors?: number[];
- },
- user_capacity?: {
- blocks: number,
- bytes: number;
- },
- logical_block_size?: number,
- temperature: {
- current: number;
- };
- power_cycle_count: number;
- power_on_time: {
- hours: number;
- };
- }
- interface DiskLayoutData {
- device: string;
- type: string;
- name: string;
- vendor: string;
- size: number;
- bytesPerSector: number;
- totalCylinders: number;
- totalHeads: number;
- totalSectors: number;
- totalTracks: number;
- tracksPerCylinder: number;
- sectorsPerTrack: number;
- firmwareRevision: string;
- serialNum: string;
- interfaceType: string;
- smartStatus: string;
- temperature: null | number;
- smartData?: SmartData;
- }
- interface BatteryData {
- hasBattery: boolean;
- cycleCount: number;
- isCharging: boolean;
- voltage: number;
- designedCapacity: number;
- maxCapacity: number;
- currentCapacity: number;
- capacityUnit: string;
- percent: number;
- timeRemaining: number,
- acConnected: boolean;
- type: string;
- model: string;
- manufacturer: string;
- serial: string;
- additionalBatteries?: BatteryData[];
- }
- interface GraphicsData {
- controllers: GraphicsControllerData[];
- displays: GraphicsDisplayData[];
- }
- interface GraphicsControllerData {
- vendor: string;
- vendorId?: string;
- model: string;
- deviceId?: string;
- bus: string;
- busAddress?: string;
- vram: number | null;
- vramDynamic: boolean;
- external?: boolean;
- cores?: number;
- metalVersion?: string;
- subDeviceId?: string;
- driverVersion?: string;
- name?: string;
- pciBus?: string;
- pciID?: string;
- fanSpeed?: number;
- memoryTotal?: number;
- memoryUsed?: number;
- memoryFree?: number;
- utilizationGpu?: number;
- utilizationMemory?: number;
- temperatureGpu?: number;
- temperatureMemory?: number;
- powerDraw?: number;
- powerLimit?: number;
- clockCore?: number;
- clockMemory?: number;
- }
- interface GraphicsDisplayData {
- vendor: string;
- vendorId: string | null;
- model: string;
- productionYear: number | null;
- serial: string | null;
- deviceName: string | null;
- displayId: string | null;
- main: boolean;
- builtin: boolean;
- connection: string | null;
- sizeX: number | null;
- sizeY: number | null;
- pixelDepth: number | null;
- resolutionX: number | null;
- resolutionY: number | null;
- currentResX: number | null;
- currentResY: number | null;
- positionX: number;
- positionY: number;
- currentRefreshRate: number | null;
- }
- // 4. Operating System
- interface OsData {
- platform: string;
- distro: string;
- release: string;
- codename: string;
- kernel: string;
- arch: string;
- hostname: string;
- fqdn: string;
- codepage: string;
- logofile: string;
- serial: string;
- build: string;
- servicepack: string;
- uefi: boolean;
- hypervizor?: boolean;
- remoteSession?: boolean;
- hypervisor?: boolean;
- }
- interface UuidData {
- os: string;
- hardware: string;
- macs: string[];
- }
- interface VersionData {
- kernel?: string;
- openssl?: string;
- systemOpenssl?: string;
- systemOpensslLib?: string;
- node?: string;
- v8?: string;
- npm?: string;
- yarn?: string;
- pm2?: string;
- gulp?: string;
- grunt?: string;
- git?: string;
- tsc?: string;
- mysql?: string;
- redis?: string;
- mongodb?: string;
- nginx?: string;
- php?: string;
- docker?: string;
- postfix?: string;
- postgresql?: string;
- perl?: string;
- python?: string;
- python3?: string;
- pip?: string;
- pip3?: string;
- java?: string;
- gcc?: string;
- virtualbox?: string;
- dotnet?: string;
- }
- interface UserData {
- user: string;
- tty: string;
- date: string;
- time: string;
- ip: string;
- command: string;
- }
- // 5. File System
- interface FsSizeData {
- fs: string;
- type: string;
- size: number;
- used: number;
- available: number;
- use: number;
- mount: string;
- }
- interface FsOpenFilesData {
- max: number;
- allocated: number;
- available: number;
- }
- interface BlockDevicesData {
- name: string;
- identifier: string;
- type: string;
- fsType: string;
- mount: string;
- size: number;
- physical: string;
- uuid: string;
- label: string;
- model: string;
- serial: string;
- removable: boolean;
- protocol: string;
- }
- interface FsStatsData {
- rx: number;
- wx: number;
- tx: number;
- rx_sec: number | null;
- wx_sec: number | null;
- tx_sec: number | null;
- ms: number;
- }
- interface DisksIoData {
- rIO: number;
- wIO: number;
- tIO: number;
- rIO_sec: number | null;
- wIO_sec: number | null;
- tIO_sec: number | null;
- rWaitTime: number;
- wWaitTime: number;
- tWaitTime: number;
- rWaitPercent: number | null;
- wWaitPercent: number | null;
- tWaitPercent: number | null;
- ms: number;
- }
- // 6. Network related functions
- interface NetworkInterfacesData {
- iface: string;
- ifaceName: string;
- ip4: string;
- ip4subnet: string;
- ip6: string;
- ip6subnet: string;
- mac: string;
- internal: boolean;
- virtual: boolean;
- operstate: string;
- type: string;
- duplex: string;
- mtu: number;
- speed: number;
- dhcp: boolean;
- dnsSuffix: string;
- ieee8021xAuth: string;
- ieee8021xState: string;
- carrierChanges: number;
- }
- interface NetworkStatsData {
- iface: string;
- operstate: string;
- rx_bytes: number;
- rx_dropped: number;
- rx_errors: number;
- tx_bytes: number;
- tx_dropped: number;
- tx_errors: number;
- rx_sec: number;
- tx_sec: number;
- ms: number;
- }
- interface NetworkConnectionsData {
- protocol: string;
- localAddress: string;
- localPort: string;
- peerAddress: string;
- peerPort: string;
- state: string;
- pid: number;
- process: string;
- }
- interface InetChecksiteData {
- url: string;
- ok: boolean;
- status: number;
- ms: number;
- }
- interface WifiNetworkData {
- ssid: string;
- bssid: string;
- mode: string;
- channel: number;
- frequency: number;
- signalLevel: number;
- quality: number;
- security: string[];
- wpaFlags: string[];
- rsnFlags: string[];
- }
- interface WifiInterfaceData {
- id: string;
- iface: string;
- model: string;
- vendor: string;
- mac: string;
- }
- interface WifiConnectionData {
- id: string;
- iface: string;
- model: string;
- ssid: string;
- bssid: string;
- channel: number;
- type: string;
- security: string;
- frequency: number;
- signalLevel: number;
- txRate: number;
- }
- // 7. Current Load, Processes & Services
- interface CurrentLoadData {
- avgLoad: number;
- currentLoad: number;
- currentLoadUser: number;
- currentLoadSystem: number;
- currentLoadNice: number;
- currentLoadIdle: number;
- currentLoadIrq: number;
- rawCurrentLoad: number;
- rawCurrentLoadUser: number;
- rawCurrentLoadSystem: number;
- rawCurrentLoadNice: number;
- rawCurrentLoadIdle: number;
- rawCurrentLoadIrq: number;
- cpus: CurrentLoadCpuData[];
- }
- interface CurrentLoadCpuData {
- load: number;
- loadUser: number;
- loadSystem: number;
- loadNice: number;
- loadIdle: number;
- loadIrq: number;
- rawLoad: number;
- rawLoadUser: number;
- rawLoadSystem: number;
- rawLoadNice: number;
- rawLoadIdle: number;
- rawLoadIrq: number;
- }
- interface ProcessesData {
- all: number;
- running: number;
- blocked: number;
- sleeping: number;
- unknown: number;
- list: ProcessesProcessData[];
- }
- interface ProcessesProcessData {
- pid: number;
- parentPid: number;
- name: string,
- cpu: number;
- cpuu: number;
- cpus: number;
- mem: number;
- priority: number;
- memVsz: number;
- memRss: number;
- nice: number;
- started: string,
- state: string;
- tty: string;
- user: string;
- command: string;
- params: string;
- path: string;
- }
- interface ProcessesProcessLoadData {
- proc: string;
- pid: number;
- pids: number[];
- cpu: number;
- mem: number;
- }
- interface ServicesData {
- name: string;
- running: boolean;
- startmode: string;
- pids: number[];
- cpu: number;
- mem: number;
- }
- // 8. Docker
- interface DockerInfoData {
- id: string;
- containers: number;
- containersRunning: number;
- containersPaused: number;
- containersStopped: number;
- images: number;
- driver: string;
- memoryLimit: boolean;
- swapLimit: boolean;
- kernelMemory: boolean;
- cpuCfsPeriod: boolean;
- cpuCfsQuota: boolean;
- cpuShares: boolean;
- cpuSet: boolean;
- ipv4Forwarding: boolean;
- bridgeNfIptables: boolean;
- bridgeNfIp6tables: boolean;
- debug: boolean;
- nfd: number;
- oomKillDisable: boolean;
- ngoroutines: number;
- systemTime: string;
- loggingDriver: string;
- cgroupDriver: string;
- nEventsListener: number;
- kernelVersion: string;
- operatingSystem: string;
- osType: string;
- architecture: string;
- ncpu: number;
- memTotal: number;
- dockerRootDir: string;
- httpProxy: string;
- httpsProxy: string;
- noProxy: string;
- name: string;
- labels: string[];
- experimentalBuild: boolean;
- serverVersion: string;
- clusterStore: string;
- clusterAdvertise: string;
- defaultRuntime: string;
- liveRestoreEnabled: boolean;
- isolation: string;
- initBinary: string;
- productLicense: string;
- }
- interface DockerImageData {
- id: string;
- container: string;
- comment: string;
- os: string;
- architecture: string;
- parent: string;
- dockerVersion: string;
- size: number;
- sharedSize: number;
- virtualSize: number;
- author: string;
- created: number;
- containerConfig: any;
- graphDriver: any;
- repoDigests: any;
- repoTags: any;
- config: any;
- rootFS: any;
- }
- interface DockerContainerData {
- id: string;
- name: string;
- image: string;
- imageID: string;
- command: string;
- created: number;
- started: number;
- finished: number;
- createdAt: string;
- startedAt: string;
- finishedAt: string;
- state: string;
- restartCount: number;
- platform: string;
- driver: string;
- ports: number[];
- mounts: DockerContainerMountData[];
- }
- interface DockerContainerMountData {
- Type: string;
- Source: string;
- Destination: string;
- Mode: string;
- RW: boolean;
- Propagation: string;
- }
- interface DockerContainerStatsData {
- id: string;
- memUsage: number;
- memLimit: number;
- memPercent: number;
- cpuPercent: number;
- pids: number;
- netIO: {
- rx: number;
- wx: number;
- };
- blockIO: {
- r: number;
- w: number;
- };
- restartCount: number;
- cpuStats: any;
- precpuStats: any;
- memoryStats: any,
- networks: any;
- }
- interface DockerContainerProcessData {
- pidHost: string;
- ppid: string;
- pgid: string;
- user: string;
- ruser: string;
- group: string;
- rgroup: string;
- stat: string;
- time: string;
- elapsed: string;
- nice: string;
- rss: string;
- vsz: string;
- command: string;
- }
- interface DockerVolumeData {
- name: string;
- driver: string;
- labels: any;
- mountpoint: string;
- options: any;
- scope: string;
- created: number;
- }
- // 9. Virtual Box
- interface VboxInfoData {
- id: string;
- name: string;
- running: boolean;
- started: string;
- runningSince: number;
- stopped: string;
- stoppedSince: number;
- guestOS: string;
- hardwareUUID: string;
- memory: number;
- vram: number;
- cpus: number;
- cpuExepCap: string;
- cpuProfile: string;
- chipset: string;
- firmware: string;
- pageFusion: boolean;
- configFile: string;
- snapshotFolder: string;
- logFolder: string;
- hpet: boolean;
- pae: boolean;
- longMode: boolean;
- tripleFaultReset: boolean;
- apic: boolean;
- x2Apic: boolean;
- acpi: boolean;
- ioApic: boolean;
- biosApicMode: string;
- bootMenuMode: string;
- bootDevice1: string;
- bootDevice2: string;
- bootDevice3: string;
- bootDevice4: string;
- timeOffset: string;
- rtc: string;
- }
- interface PrinterData {
- id: number;
- name: string;
- model: string;
- uri: string;
- uuid: string;
- local: boolean;
- status: string;
- default: boolean;
- shared: boolean;
- }
- interface UsbData {
- id: number | string;
- bus: number;
- deviceId: number;
- name: string;
- type: string;
- removable: boolean;
- vendor: string;
- manufacturer: string;
- maxPower: string;
- serialNumber: string;
- }
- interface AudioData {
- id: number | string;
- name: string;
- manufacturer: string;
- default: boolean;
- revision: string;
- driver: string;
- in: boolean;
- out: boolean;
- interfaceType: string;
- status: string;
- }
- interface BluetoothDeviceData {
- device: string;
- name: string;
- macDevice: string;
- macHost: string;
- batteryPercent: number;
- manufacturer: string;
- type: string;
- connected: boolean;
- }
- // 10. "Get All at once" - functions
- interface StaticData {
- version: string;
- system: SystemData;
- bios: BiosData;
- baseboard: BaseboardData;
- chassis: ChassisData;
- os: OsData;
- uuid: UuidData;
- versions: VersionData;
- cpu: CpuData;
- graphics: GraphicsData;
- net: NetworkInterfacesData[];
- memLayout: MemLayoutData[];
- diskLayout: DiskLayoutData[];
- }
- }
- export function version(): string;
- export function system(cb?: (data: Systeminformation.SystemData) => any): Promise<Systeminformation.SystemData>;
- export function bios(cb?: (data: Systeminformation.BiosData) => any): Promise<Systeminformation.BiosData>;
- export function baseboard(cb?: (data: Systeminformation.BaseboardData) => any): Promise<Systeminformation.BaseboardData>;
- export function chassis(cb?: (data: Systeminformation.ChassisData) => any): Promise<Systeminformation.ChassisData>;
- export function time(): Systeminformation.TimeData;
- export function osInfo(cb?: (data: Systeminformation.OsData) => any): Promise<Systeminformation.OsData>;
- export function versions(apps?: string, cb?: (data: Systeminformation.VersionData) => any): Promise<Systeminformation.VersionData>;
- export function shell(cb?: (data: string) => any): Promise<string>;
- export function uuid(cb?: (data: Systeminformation.UuidData) => any): Promise<Systeminformation.UuidData>;
- export function cpu(cb?: (data: Systeminformation.CpuData) => any): Promise<Systeminformation.CpuData>;
- export function cpuFlags(cb?: (data: string) => any): Promise<string>;
- export function cpuCache(cb?: (data: Systeminformation.CpuCacheData) => any): Promise<Systeminformation.CpuCacheData>;
- export function cpuCurrentSpeed(cb?: (data: Systeminformation.CpuCurrentSpeedData) => any): Promise<Systeminformation.CpuCurrentSpeedData>;
- export function cpuTemperature(cb?: (data: Systeminformation.CpuTemperatureData) => any): Promise<Systeminformation.CpuTemperatureData>;
- export function currentLoad(cb?: (data: Systeminformation.CurrentLoadData) => any): Promise<Systeminformation.CurrentLoadData>;
- export function fullLoad(cb?: (data: number) => any): Promise<number>;
- export function mem(cb?: (data: Systeminformation.MemData) => any): Promise<Systeminformation.MemData>;
- export function memLayout(cb?: (data: Systeminformation.MemLayoutData[]) => any): Promise<Systeminformation.MemLayoutData[]>;
- export function battery(cb?: (data: Systeminformation.BatteryData) => any): Promise<Systeminformation.BatteryData>;
- export function graphics(cb?: (data: Systeminformation.GraphicsData) => any): Promise<Systeminformation.GraphicsData>;
- export function fsSize(cb?: (data: Systeminformation.FsSizeData[]) => any): Promise<Systeminformation.FsSizeData[]>;
- export function fsOpenFiles(cb?: (data: Systeminformation.FsOpenFilesData[]) => any): Promise<Systeminformation.FsOpenFilesData[]>;
- export function blockDevices(cb?: (data: Systeminformation.BlockDevicesData[]) => any): Promise<Systeminformation.BlockDevicesData[]>;
- export function fsStats(cb?: (data: Systeminformation.FsStatsData) => any): Promise<Systeminformation.FsStatsData>;
- export function disksIO(cb?: (data: Systeminformation.DisksIoData) => any): Promise<Systeminformation.DisksIoData>;
- export function diskLayout(cb?: (data: Systeminformation.DiskLayoutData[]) => any): Promise<Systeminformation.DiskLayoutData[]>;
- export function networkInterfaceDefault(cb?: (data: string) => any): Promise<string>;
- export function networkGatewayDefault(cb?: (data: string) => any): Promise<string>;
- export function networkInterfaces(cb?: (data: Systeminformation.NetworkInterfacesData[]) => any): Promise<Systeminformation.NetworkInterfacesData[]>;
- export function networkStats(ifaces?: string, cb?: (data: Systeminformation.NetworkStatsData[]) => any): Promise<Systeminformation.NetworkStatsData[]>;
- export function networkConnections(cb?: (data: Systeminformation.NetworkConnectionsData[]) => any): Promise<Systeminformation.NetworkConnectionsData[]>;
- export function inetChecksite(url: string, cb?: (data: Systeminformation.InetChecksiteData) => any): Promise<Systeminformation.InetChecksiteData>;
- export function inetLatency(host?: string, cb?: (data: number) => any): Promise<number>;
- export function wifiNetworks(cb?: (data: Systeminformation.WifiNetworkData[]) => any): Promise<Systeminformation.WifiNetworkData[]>;
- export function wifiInterfaces(cb?: (data: Systeminformation.WifiInterfaceData[]) => any): Promise<Systeminformation.WifiInterfaceData[]>;
- export function wifiConnections(cb?: (data: Systeminformation.WifiConnectionData[]) => any): Promise<Systeminformation.WifiConnectionData[]>;
- export function users(cb?: (data: Systeminformation.UserData[]) => any): Promise<Systeminformation.UserData[]>;
- export function processes(cb?: (data: Systeminformation.ProcessesData) => any): Promise<Systeminformation.ProcessesData>;
- export function processLoad(processNames: string, cb?: (data: Systeminformation.ProcessesProcessLoadData[]) => any): Promise<Systeminformation.ProcessesProcessLoadData[]>;
- export function services(serviceName: string, cb?: (data: Systeminformation.ServicesData[]) => any): Promise<Systeminformation.ServicesData[]>;
- export function dockerInfo(cb?: (data: Systeminformation.DockerInfoData) => any): Promise<Systeminformation.DockerInfoData>;
- export function dockerImages(all?: boolean, cb?: (data: Systeminformation.DockerImageData[]) => any): Promise<Systeminformation.DockerImageData[]>;
- export function dockerContainers(all?: boolean, cb?: (data: Systeminformation.DockerContainerData[]) => any): Promise<Systeminformation.DockerContainerData[]>;
- export function dockerContainerStats(id?: string, cb?: (data: Systeminformation.DockerContainerStatsData[]) => any): Promise<Systeminformation.DockerContainerStatsData[]>;
- export function dockerContainerProcesses(id?: string, cb?: (data: any) => any): Promise<Systeminformation.DockerContainerProcessData[]>;
- export function dockerVolumes(cb?: (data: Systeminformation.DockerVolumeData[]) => any): Promise<Systeminformation.DockerVolumeData[]>;
- export function dockerAll(cb?: (data: any) => any): Promise<any>;
- export function vboxInfo(cb?: (data: Systeminformation.VboxInfoData[]) => any): Promise<Systeminformation.VboxInfoData[]>;
- export function printer(cb?: (data: Systeminformation.PrinterData[]) => any): Promise<Systeminformation.PrinterData[]>;
- export function usb(cb?: (data: Systeminformation.UsbData[]) => any): Promise<Systeminformation.UsbData[]>;
- export function audio(cb?: (data: Systeminformation.AudioData[]) => any): Promise<Systeminformation.AudioData[]>;
- export function bluetoothDevices(cb?: (data: Systeminformation.BluetoothDeviceData[]) => any): Promise<Systeminformation.BluetoothDeviceData[]>;
- export function getStaticData(cb?: (data: Systeminformation.StaticData) => any): Promise<Systeminformation.StaticData>;
- export function getDynamicData(srv?: string, iface?: string, cb?: (data: any) => any): Promise<any>;
- export function getAllData(srv?: string, iface?: string, cb?: (data: any) => any): Promise<any>;
- export function get(valuesObject: any, cb?: (data: any) => any): Promise<any>;
- export function observe(valuesObject: any, interval: number, cb?: (data: any) => any): number;
|