cgroup parser for python
Project description
Python解析cgroup(支持容器)
- 获取CPU核数
- 获取CPU使用率
- 获取内存限量
- 获取内存占用量
import cgroup_parser
cgroup_parser.get_max_procs()
cgroup_parser.get_cpu_usage()
cgroup_parser.get_memory_limit()
cgroup_parser.get_memory_usage()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cgroup-parser-0.0.2.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file cgroup-parser-0.0.2.tar.gz
.
File metadata
- Download URL: cgroup-parser-0.0.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9729d84332a34f15c1db3ce1af237010d8c8498b0594d8cb62e22395788c11e1 |
|
MD5 | 97c0626d6c3d4ccbbe2ef409ea43883c |
|
BLAKE2b-256 | 36207f3ba0e7c7fd4409d5fcd997a8fe1bab6d00dfac7780b6e223bd9ac183d3 |
File details
Details for the file cgroup_parser-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: cgroup_parser-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e25289bb155ebf316b178250c0941183002d7f024f67b2e454abc0eeb6356fba |
|
MD5 | f7e4d98399ac82c5ca91da7f1953e66e |
|
BLAKE2b-256 | ffc608f549b9639d90bfff8e46ba83c5a91520ec791b6bcd4acf22fbdab37b76 |