Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows Server 2019 Datacenter] only one physical disk information can be obtained #1776

Closed
rankaiyx opened this issue Jun 22, 2020 · 1 comment

Comments

@rankaiyx
Copy link

rankaiyx commented Jun 22, 2020

Platform
x64

  • { OS version }
    Windows Server 2019 Datacenter 64bit (1809)
  • { psutil version: python3 -c "import psutil; print(psutil.version)" }
    psutil 5.7.0
  • { python version }
    python-3.8.3-amd64

Bug description
psutil.disk_io_counters(perdisk=True)
In this way, only one physical disk information can be obtained
When I reinstall windows 10 x64 1809 and win7 x64, I can get all the physical disk information

psutil.disk_io_counters()
In this way, the data obtained is only from the same physical disk, and there is no data from other disks

Test results
{ output of python -c psutil.tests (failures only, not full result) }

@rankaiyx rankaiyx added the bug label Jun 22, 2020
@rankaiyx rankaiyx changed the title [OS] only one physical disk information can be obtained (Windows Server 2019 Datacenter) [Windows Server 2019 Datacenter] only one physical disk information can be obtained Jun 22, 2020
@rankaiyx
Copy link
Author

Solved:
diskperf -y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants