dargslan-cgroup-monitor
Linux Cgroup Resource Monitor — Track CPU, memory, and I/O limits for containers and system slices. Supports cgroups v1 and v2. Zero external dependencies.
Installation
pip install dargslan-cgroup-monitor
CLI Usage
dargslan-cgroup report # Full cgroup resource report
dargslan-cgroup list # List all active cgroups
dargslan-cgroup slices # System slices and services
dargslan-cgroup containers # Container cgroups only
dargslan-cgroup issues # Resource limit issues
dargslan-cgroup json # JSON output
Python API
from dargslan_cgroup_monitor import CgroupMonitor
cm = CgroupMonitor()
cgroups = cm.list_cgroups()
containers = cm.get_container_cgroups()
cm.print_report()
More from Dargslan
- Dargslan.com — Linux & DevOps eBook Store
- Free Cheat Sheets
- Blog & Tutorials
License
MIT — see LICENSE
Metadata
Release files for dargslan-cgroup-monitor 1.0.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 | Provenance | Actions |
|---|---|---|---|---|
| dargslan_cgroup_monitor-1.0.0.tar.gz | 4.3 kB | Without provenance | Details for dargslan_cgroup_monitor-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dargslan_cgroup_monitor-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for dargslan_cgroup_monitor-1.0.0-py3-none-any.whl |
Total release size: 9.5 kB
Release files / dargslan_cgroup_monitor-1.0.0.tar.gz
| Download URL | dargslan_cgroup_monitor-1.0.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
599f70f4844012857b8865a981f20d4d19353b049152b4ac94b2c808a6b6c100
|
|
BLAKE2b-256 checksum How to use checksums |
f7bbded0016f0c2cb543b28bc70de43f7f9fa3044eb2ad0561f4e28a2615102d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / dargslan_cgroup_monitor-1.0.0-py3-none-any.whl
| Download URL | dargslan_cgroup_monitor-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4747227d466f765c76a52ab0800e042af4daef4b0fe8d003f27a19ffff15c90e
|
|
BLAKE2b-256 checksum How to use checksums |
a56868bdab9479ea52f5e22129f6dd24aef491d2b5463a82dbce6f7cf636bac0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Security for dargslan-cgroup-monitor 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.