Skip to main content

Utility for managing memory with cgroup

Project description

mutil

Utilities for managing memory resources with cgroups

Memory management is an important consideration for a multi-user computing server, because if users collectively attempt to use more memory than is available on the system, it may crash. A useful means of preventing this is cgroups which can assign users to "control groups" which are limited to a given quantity of resources (such as CPU, disk, or memory usage).

However, cgroups are somewhat complicated to use in practice. mutil streamlines the memory management component.

Installation

To install mutil:

conda create -c conda-forge -n mutil psutil
conda activate mutil
pip install mutil

You may wish to include mutil and nvtop in one environment:

conda create -c conda-forge -n mutil-nvtop psutil nvtop
conda activate mutil-nvtop
pip install mutil

You can also install it in an existing environment by simply using pip install mutil. Then you can check it with:

mutil --version
mutil --help

mutil maintains

Induct a user

mutil induct -u <username>

Check your memory usage

mutil usage

Check usage of another user

mutil usage -u <username>

Check usage of a group

mutil usage -g free

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

mutil-0.4.0.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

mutil-0.4.0-py3-none-any.whl (10.2 kB view hashes)

Uploaded Python 3

Supported by

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