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.