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.

Files for django-expvar-psutil, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django_expvar_psutil-0.1.0-py2.py3-none-any.whl (5.7 kB) File type Wheel Python version 2.7 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page