Skip to main content

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


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.3.7.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file hwpy-0.3.7.tar.gz.

File metadata

  • Download URL: hwpy-0.3.7.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.6.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.5

File hashes

Hashes for hwpy-0.3.7.tar.gz
Algorithm Hash digest
SHA256 1b85c700b810543f29a4b9d5841dad2a7bdc503e157f940860d30731b53c925d
MD5 8588eafd532c3f455d93094721390ebb
BLAKE2b-256 a1b564b169f932df8124d5d1d1b98d5e6a2a6dea93a1ac5babf4b73b80fcd7c9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page