Skip to main content

kill blacklisted programs on high volatile memory usage

Project description

R2-45

R2-45 monitors overall volatile memory usage and when memory usage goes to or beyond what it considers too far (meaning that the poor system switches to super-slow swap memory) it kills progressively a list of programs it has in its internal blacklist. As it does this it notifies you of its actions and, when it has done all it can based on its blacklist, it sends a final message of warning. It is not perfect, but it is trying. And really, the pursuit of a positive contribution to reality is really all for which anyone or script can hope.

setup

pip install r245

usage

Just run it.

r245

You can ask it for help if you want to learn how to specify via command line options and arguments the critical RAM usage limit or a custom blacklist.

r245 --help

example program to demonstrate large memory usage

x = bytearray(512000000)

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 r245, version 2019.1.21.547
Filename, size File type Python version Upload date Hashes
Filename, size r245-2019.1.21.547.tar.gz (3.7 kB) File type Source Python version None 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