]> git.ipfire.org Git - thirdparty/util-linux.git/commit - sys-utils/lscpu.c
lscpu: add note about cache IDs
authorKarel Zak <kzak@redhat.com>
Tue, 3 Nov 2020 09:39:04 +0000 (10:39 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 13 Nov 2020 08:19:02 +0000 (09:19 +0100)
commit6321d34f0f929d640a8fff26a911c7db077dfe24
tree65a966afe56803a94efb13b565acf0016445575b
parent6d880d3d460152b24b471d4bc5fe708c6219bb89
lscpu: add note about cache IDs

We read the ID from /sys/devices/system/cpu/cpu*/cache/index*/id.

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lscpu.1
sys-utils/lscpu.c