System

Type Definitions

AdapterInfo

Properties:
Name Type Description
name String

The name of the adapter

address String

The ipv4/6 address.

prefixLength Number

The prefix/subnetmask/cidr notation for this adapter address.

CPUInfo

Properties:
Name Type Description
usage CPUMetrics

CPU usage metrics

CPUMetrics

Properties:
Name Type Description
user Number

The cumulative time used by userspace programs on this processor.

kernel Number

The cumulative time used by kernel programs on this processor.

idle Number

The cumulative time spent idle by this processor.

total Number

The total cumulative time for this processor. This value is equal to user + kernel + idle.

MemoryMetrics

Properties:
Name Type Description
capacity Number

The total amount of physical memory capacity, in bytes.

available Number

The amount of available capacity, in bytes.

StorageMetrics

Properties:
Name Type Description
disk String

The name/type of the disk

used Number

The number of bytes used

total Number

The total number of bytes available.