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

cpu information not available on windows7 32bit #1236

Open
sunyunzhang opened this issue Jan 24, 2022 · 4 comments
Open

cpu information not available on windows7 32bit #1236

sunyunzhang opened this issue Jan 24, 2022 · 4 comments

Comments

@sunyunzhang
Copy link

error: call to NtquerySystemInformation returned 3221225476. err: The operation completed successfully

@Lomanic
Copy link
Collaborator

Lomanic commented Jan 31, 2022

Error is raised there https://github.com/shirou/gopsutil/blob/e0ec1b9cda4470db704a862282a396986d7e930c/cpu/cpu_windows.go#L175, with cpu.Times(true)

3221225476 is 0xC0000004 which is STATUS_INFO_LENGTH_MISMATCH, The specified information record length does not match the length that is required for the specified information class..

I will try to reproduce on Tiny7 which is a stripped down 32bit win7, but I'm surprised.

@Howie59
Copy link

Howie59 commented Apr 15, 2022

i reproduce it on win32, does anyone know how to handle?

@Howie59
Copy link

Howie59 commented Apr 15, 2022

@Lomanic

@Lomanic
Copy link
Collaborator

Lomanic commented May 24, 2022

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

3 participants