Get linux server hardware information. 获取Linux服务器硬件明细。
Project description
install(python2.7 and python3.6)
lastest psutil maybe required
# yum install -y gcc python-devel dmidecode
# pip install -U setuptools
# pip install -U psutil
# pip install hwpy
usage
# python -m hwpy
from hwpy import info
info.main()
info.hwlist
info.cpu
info.net
info.disk
info.part
info.host
info.mem
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
hwpy-0.2.7.tar.gz
(5.5 kB
view hashes)