exoedge-linuxstats-20.7.29
توضیحات
An ExoEdge source for displaying linux hardware statistics and metrics.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | exoedge-linuxstats-20.7.29 |
| نام | exoedge-linuxstats |
| نسخه کتابخانه | 20.7.29 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Exosite LLC |
| ایمیل نویسنده | support@exosite.com |
| آدرس صفحه اصلی | https://github.com/exosite/lib_exoedge_linux_stats_python |
| آدرس اینترنتی | https://pypi.org/project/exoedge-linuxstats/ |
| مجوز | Apache 2.0 |
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.
.. image:: images/LinuxStatsConfig.png
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
"""""""""""""""""""""""
.. code-block:: bash
$ python setup.py install
Installing From Builds
"""""""""""""""""""""""
.. code-block:: bash
$ pip install dist/*.whl
Installing From Builds
"""""""""""""""""""""""
.. code-block:: bash
$ pip install exoedge_linuxstats
نیازمندی
| مقدار | نام |
|---|---|
| - | exoedge |
| - | ifparser |
| - | psutil |
نحوه نصب
نصب پکیج whl exoedge-linuxstats-20.7.29:
pip install exoedge-linuxstats-20.7.29.whl
نصب پکیج tar.gz exoedge-linuxstats-20.7.29:
pip install exoedge-linuxstats-20.7.29.tar.gz