在 Python 中查看磁盘活动
是否有一个 python 命令或库可以调用来查看硬盘驱动器是否正在写入或读取?
就像这个 C# 一样 检测硬盘是否正在被访问
Is there a python command or library that I can call to see if hard drive is being written to or read from?
Like this C# one
Detect if hard disk is being accessed or not
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

Nathan Liang 在上面回答了
监控磁盘读/写活动
答案位于
https://pypi.org/project/psutil/5.2.2/
调用将基于
给出类似这样的输出
查看繁忙时间是
Answered above by Nathan Liang
Monitoring disk read/write activity
The answer is at
https://pypi.org/project/psutil/5.2.2/
The call would be based on
giving the output something like this
to see busy time is