gpt4 book ai didi

python - 仅使用 Python 访问 Linux 中的 SMART 属性?

转载 作者:太空宇宙 更新时间:2023-11-04 09:01:31 24 4
gpt4 key购买 nike

有没有办法不使用 smartmontools 来做到这一点?如果可能的话,我想看看我只使用 Python 能走多远。谷歌搜索似乎并没有产生太多。

最佳答案

获取 C 库 libatasmart,并通过 ctypescffi 从 Python 中调用它。

关于python - 仅使用 Python 访问 Linux 中的 SMART 属性?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20440320/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com