Operating System

The useable functions of the OS connector are determined by the capabilities and permissions on the host OS. The available functions are listed below.

Getting the current CPU usage

cpuUsage outputs the current CPU usage in percent. In the input field you can define the interval in milliseconds with which the connector polls the system. This is independent of the trigger time of the function.

Getting the CPU usage through the edge-connector

Getting number of processing cores

cpuCount outputs the number of processing cores of the CPU.

Getting the CPU core count through the edge-connector

Getting the load average

loadAverage returns an array containing the 1, 5, and 15 minute load averages. This load average is also normalized for to the number of CPUs

NOTE: The load average is a Unix-specific concept. On Windows, the return value is always [0, 0, 0].

Getting information about storage disks

driveInfo returns information about the storage disks attached to the device.

Getting the drive info through the edge-connector

Getting information about the RAM

memInfo returns information about the RAM (volatile memory) on the device.

Getting the memory info through the edge-connector

Getting network information

netInfo returns information about the connected networks. In the input field you can define the interval in milliseconds with which the connector polls the system. This is independent of the trigger time of the function.

Getting device uptime

uptime returns the time in seconds the device has been running for.

Getting the device uptime through the edge-connector

Getting OS information

OS returns information about the OS the device is running.

Getting the OS information through the edge-connector

Last updated