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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1174365 Title: virsh nodeinfo shows only 1 of 2 sockets To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1174365/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs