simond - Simple Monitor Daemon
The daemon for simon, collects system information every second and logs them to STDOUT (redirect or pipe it to your liking) at a certain interval. If the interval is not 1 sec, the sample mean will be calculated and logged.
Installation
simond requires Python 3.6+, the easiest way to install it is with pip or any other package manager supporting PyPI:
pip install simond
Usage
usage: simond [-h] [-V] [-i LOGINTERVAL]
simond - Simple Monitor Daemon, fetches and logs system information
optional arguments:
-h, --help show this help message and exit
-V, --version Print simond version number
-i LOGINTERVAL, --loginterval LOGINTERVAL
The log interval in seconds, if it's anything but 1,
averages (sample mean) will be logged
Log structure
host: The system's hostnamets: Timestamp of when the data were gathered as UTC Unix timeloadavg_1min: 1min Load averageloadavg_5min: 5min Load averageloadavg_15min: 15min Load averagemem: Total memory usage in percent as number (0.01 = 1%)cpu: Total CPU usage in percent as numberdisk: Total disk usage in percent as numberdiskio_rps: Disk reads in bytes per seconddiskio_wps: Disk writes in bytes per secondnetio_rps: Network traffic received in bytes per secondnetio_sps: Network traffic sent in bytes per second
Currently simon logs each measure as a JSON object separated by newline, the file will therefor not be valid JSON, with the benefit that each line is valid JSON and can be read per line (streaming FTW!):
{"host": "simon", "ts": 1592943008, "loadavg_1min": 1.598, "loadavg_5min": 2.104, "loadavg_15min": 2.504, "mem": 0.03, "cpu": 0.014, "disk": 0.545, "diskio_rps": 0, "diskio_wps": 0, "netio_rps": 0, "netio_sps": 0}
{"host": "simon", "ts": 1592943009, "loadavg_1min": 1.598, "loadavg_5min": 2.104, "loadavg_15min": 2.504, "mem": 0.03, "cpu": 0.036, "disk": 0.545, "diskio_rps": 0, "diskio_wps": 0, "netio_rps": 1024, "netio_sps": 0}
This might change in the future if it is not sufficent.
Metadata
Release files for simond 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simond-0.0.1.tar.gz | 5.2 kB | Without provenance | Details for simond-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| simond-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for simond-0.0.1-py3-none-any.whl |
Total release size: 11.9 kB
Release files / simond-0.0.1.tar.gz
| Download URL | simond-0.0.1.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d2b732d813c17c96235764a82497e3908db2f73a2cb7b94c804c42624dbc4f7
|
|
BLAKE2b-256 checksum How to use checksums |
10469217fca550f8cef1d55f523ee2dec94c3e60b61c6dee7b060707ab7b70c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7
|
Release files / simond-0.0.1-py3-none-any.whl
| Download URL | simond-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6117fd0a18daf1f5abe1346e2a2249fff6a59929b9cc4da7a77199d908a82345
|
|
BLAKE2b-256 checksum How to use checksums |
c6f0cb845e2f64b2c3f72082300f54d0dbb15a84effeee1c12b6547fbd511ce7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7
|
Security for simond 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.