This tool is displaying valuable and detailed information about the CPUs and the system topology:
1) https://www.open-mpi.org/projects/hwloc/doc/v2.8.0/a00358.php#cli_examples
2) https://www.open-mpi.org/projects/hwloc/lstopo/ - more examples

Also they support a ton of various output formats: txt, svg, png, pdf and so on.