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 hashes)
Built Distribution
Close
Hashes for cgroup_parser-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e25289bb155ebf316b178250c0941183002d7f024f67b2e454abc0eeb6356fba |
|
MD5 | f7e4d98399ac82c5ca91da7f1953e66e |
|
BLAKE2b-256 | ffc608f549b9639d90bfff8e46ba83c5a91520ec791b6bcd4acf22fbdab37b76 |