Skip to main content

Django expvar endpoint psutil plugin

Project description

psutil plugin for [django-expvar](https://github.com/thraxil/django-expvar/)

* pip install it
* add `expvarpsutil` to `INSTALLED_APPS`

exposes everything that it can glean from
[psutil](https://github.com/giampaolo/psutil).

Sample output:


{
"vmem": {
"available": 21817942016,
"used": 29588267008,
"cached": 14833836032,
"percent": 35.2,
"free": 4071620608,
"inactive": 11338760192,
"active": 16109834240,
"total": 33659887616,
"buffers": 2912485376},
"netio": {
"dropin": 10,
"packets_recv": 5051051546,
"bytes_recv": 16324722441209,
"dropout": 0,
"bytes_sent": 14774021978712,
"errout": 0,
"packets_sent": 4435177714,
"errin": 52},
"swap": {
"used": 6767640576,
"percent": 21.0,
"free": 25397030912,
"sout": 140025290752,
"total": 32164671488,
"sin": 178708295680},
"cpu": {
"guest": 0.0,
"irq": 113.01,
"system": 907022.44,
"idle": 42276546.24,
"user": 5368869.44,
"iowait": 7038784.66,
"nice": 1194231.6,
"steal": 0.0,
"softirq": 63126.39}
}

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

django_expvar_psutil-0.1.0-py2.py3-none-any.whl (5.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django_expvar_psutil-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_expvar_psutil-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 752c98a65fccc70af3ae17b00d0db4a74ad68452c9d8f20e979548cca94d4ad0
MD5 620aa558ac08c806dbd610f7c8725f56
BLAKE2b-256 93c280f2fda406f6169ad37d397217375fad4414e194a8049a5a73c8e732d437

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