Skip to content

/sys/devices/system/node/node0/cpu0/online: no such file or directory #389

@peter81git

Description

@peter81git

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions