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
Release files for mutil 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mutil-0.4.0.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mutil-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.5 kB
Release files / mutil-0.4.0.tar.gz
| Download URL | mutil-0.4.0.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b1fbff24cd3e5f61576723d3bb14c12a5b831a88678180a8886782e21840bfd
|
|
BLAKE2b-256 checksum How to use checksums |
6e53417a2dbf0ab46c1c113e1150513794ab0ae37103ce4035ae5173ed586f59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / mutil-0.4.0-py3-none-any.whl
| Download URL | mutil-0.4.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7cd0c8e6106297b7c682204f8e221d188fdaa305a1a26e71cdf96ea5b646bb42
|
|
BLAKE2b-256 checksum How to use checksums |
cd0e9aeba71e9b51f734b4ce55be0aa483ff10d9a2b20ecdf2b5904e5203135d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|