An ExoEdge source for displaying linux hardware statistics and metrics.
Project description
Description
The purpose of this repository is to provide an ExoEdge protocol source that can report linux system information.
A protocol source (often just referred to as a “source”) is the glue between ExoEdge and the field-bus that you want to get data to and from. It is helpful to think of a source as a plugin to ExoEdge.
Available Functions
time
Displays the current time in the format “HH:MM:SS”
datetime
Displays the current datetime of the device in the format “YYYY-MM-DD HH:MM:SS.sss”
cpu
Displays the current CPU usage as a percent
mem
Displays the current memory usage as a percent
interfaces
Requires ‘/sbin/ifconfig’ or ‘ip a’ to execute on the device. Displays the active interfaces and their IP addresses in a JSON format. Use the ‘JSON Table’ panel to view.
Install
Installing a build can be done in several ways:
Installing From Source
$ python setup.py install
Installing From Builds
$ pip install dist/*.whl
Installing From Builds
$ pip install exoedge_linuxstats
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for exoedge_linuxstats-20.7.29-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 286cb3ae1de7ba5e9859e2fc337427177cf86070a22d7e0ae10470a311d159fb |
|
MD5 | 0967dd390fa10319f73205e39126cde7 |
|
BLAKE2b-256 | 9bff1729bf7c4306b07212b5e630b82cea670a562d82da2bb3926354ac6ffd1f |