Thanks for your reply.
Here's the desired output:
root@kvm-host:/sys/devices/system/cpu# for i in $(find . -name topology); do echo $i; cat $i/physical_package_id; done ./cpu0/topology 0 ./cpu1/topology 0 ./cpu2/topology 0 ./cpu3/topology 0 ./cpu4/topology 0 ./cpu5/topology 0 ./cpu6/topology 1 ./cpu7/topology 1 ./cpu8/topology 1 ./cpu9/topology 1 ./cpu10/topology 1 ./cpu11/topology 1
Thanks for your reply.
Here's the desired output:
root@kvm- host:/sys/ devices/ system/ cpu# for i in $(find . -name topology); do echo $i; cat $i/physical_ package_ id; done
./cpu0/topology
0
./cpu1/topology
0
./cpu2/topology
0
./cpu3/topology
0
./cpu4/topology
0
./cpu5/topology
0
./cpu6/topology
1
./cpu7/topology
1
./cpu8/topology
1
./cpu9/topology
1
./cpu10/topology
1
./cpu11/topology
1