********************
System Device
********************

.. index:: system, devices; system

Overview
====================

This driver collects Digi device statistics and represents them in channels. 
This information is also accessible through the remote device's home page,
in the **System information** section.

Configuration
====================

A typical system configuration block looks like this::

  - name: system
    driver: devices.system_device:SystemDevice
    settings:
        update_rate: 2

Settings
--------------------

update_rate (optional, default: 1.0)
    The number of seconds between each system statistics refresh.

Channels
====================

uptime (Get, type: integer, unit: sec)
    The number of seconds from latest startup.

cpu_utilization (Get, type: integer, unit: %)
    Percent usage of the device's CPU.

free_memory (Get, type: integer, unit: bytes)
    Free memory of the device (in bytes).

used_memory (Get, type: integer, unit: bytes)
    Used memory of the device (in bytes).

total_memory (Get, type: integer, unit: bytes)
    Total memory of the device, free + used (in bytes).

