-
Notifications
You must be signed in to change notification settings - Fork 189
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
/sys/devices/system/node/node0/cpu0/online: no such file or directory #389
Comments
@peter81git thanks for the issue! can you let us know what version of ghw you're using? thank you! |
We are using version v0.13.0 |
One more option is to use
And to have only the cpu, node, core and online we can |
hi @peter81git ! which distribution version and kernel version are you running and getting this error? |
@ffromani and @peter81git , seems this issue is same with #375 can we close this issue? |
I checked the commit on the #375 issue and seems to validate if the file exists before getting the value, however it is not checking if the system is numa capable or not adapting the info retrieval. |
Hello,
When I try to list cpu information that is numa related it is getting the error:
/sys/devices/system/node/node0/cpu0/online: no such file or directory
Seems that online is not available anymore on this location for some linux distros.
However with
lscpu | grep -i numa
we have an output listing the nodes and cpus per node. And with/sys/devices/system/cpu/online
it reports the online cpus.Maybe first check if the first path is available and if not go through the other option ti get cpus per node that are online.
The text was updated successfully, but these errors were encountered: