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: 4 %, 0.1, 0.1, 0.0
Temp: 41.0 °C
Mem: 46 %, 1.3/4 GB
sda: [/] 38 %, 45.1/119 GB
wlp1s0: 4 | 3 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.1.tar.gz (4.5 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.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cnsstat-1.0.1.tar.gz
  • Upload date:
  • Size: 4.5 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.1.tar.gz
Algorithm Hash digest
SHA256 2b7f517853a389f495b0f4ffe523338405b9c3c098167e64d995983b9e75730c
MD5 dfe93db2c8a5b27fb5a2bc1b78a08eac
BLAKE2b-256 e99502705529ee72bf6d52f5622d8831b9f7fc2e676ed0b1d82626121ac4b2e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cnsstat-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e556981045ac897b08eb4d6a5a0797353267ed205333d36a842577b81cb4dd1
MD5 59566612829064841ece2ffc5bed5c93
BLAKE2b-256 a47f7f023fee1cbde1b3c3a833e8f7c8edfc07e818d9828b1210cbd5db7a90e6

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