Skip to main content

Cheap-n-nasty text system status via psutil

Project description

cnsstat

Cheap-n-nasty text system status via psutil:

$ cnsstat
Load: 1 %, 0.0, 0.0, 0.0
Temp: 51 °C
Mem: 12 %, 0.1/1 GB
overlay: [/] 39 %, 80.6/211 MB
eth0: 17 | 223 kbit/s

Displays estimate of current overall CPU usage in percent, load average divided by number of cores, CPU package temperature(s), memory usage, mounted filesystem space and network traffic per interface TX | RX.

Text is formatted for sending by DM or SMS.

Usage

cnsstat [NETDEV] ...

Optionally specify a list of network devices to display on the command line, any that are up will be included in the output.

Requirements

  • psutil

Installation

$ python3 -m venv --system-site-packages venv
$ ./venv/bin/pip install cnsstat

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cnsstat-1.0.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cnsstat-1.0.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file cnsstat-1.0.2.tar.gz.

File metadata

  • Download URL: cnsstat-1.0.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for cnsstat-1.0.2.tar.gz
Algorithm Hash digest
SHA256 c2d8c20dec88c9273a3be4842b1d45c26d0dcb3cb2e11858cc03fb7eb3119da1
MD5 31cb853adf81c4255832c878b813229a
BLAKE2b-256 3015d37544112e4ac7011bcf7a5f6d3b9441338a89355c59ecfe988dd710f646

See more details on using hashes here.

File details

Details for the file cnsstat-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: cnsstat-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for cnsstat-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 691999b2e33bcc33ca855584b710d2d6bbcc66ad4852e9cd559f0d0a75d6181b
MD5 62be6310ffe4c8fd194b1868248e7533
BLAKE2b-256 e152a50e12318e8311db8463b2ee44f5c9cf2ecdc904cc52209b8cbde37ed716

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page