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
Built Distribution
File details
Details for the file mutil-0.4.0.tar.gz
.
File metadata
- Download URL: mutil-0.4.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b1fbff24cd3e5f61576723d3bb14c12a5b831a88678180a8886782e21840bfd |
|
MD5 | f82429498e6745664248aed2074a3b53 |
|
BLAKE2b-256 | 6e53417a2dbf0ab46c1c113e1150513794ab0ae37103ce4035ae5173ed586f59 |
File details
Details for the file mutil-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: mutil-0.4.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cd0c8e6106297b7c682204f8e221d188fdaa305a1a26e71cdf96ea5b646bb42 |
|
MD5 | d109cd3d30aa68edc59da9bcaffc0c2e |
|
BLAKE2b-256 | cd0e9aeba71e9b51f734b4ce55be0aa483ff10d9a2b20ecdf2b5904e5203135d |