uyuni-project / virtual-host-gatherer

Script to gather information about virtual system running on different kind of hypervisors.
6 stars 13 forks source link

Calculate cpu total values #32

Closed mcalmer closed 1 year ago

mcalmer commented 1 year ago

Virtual host gather should return the total numbers of the CPU values. As libvirt return sockets, cores per socket and threads per cores like:

      sockets: 2
      cores: 8
      threads: 2

we need to calculate the total numbers to get the correct output:

      sockets: 2
      cores: 16
      threads: 32
mcalmer commented 1 year ago

@mbelur please have a look if you think this is ok.