VMware Cloud Community
wagde
Contributor
Contributor

Knowing the number of physical cores in ESX host from a VM

Hi

I'm looking for a way to know how many cores we have in a physical ESX server from a linux VM.

I know I can do it with VI, but in order to do that, I need a communication between the VM and the ESX host. (IP, user, pass, ssl, ...)

Is there any way to know what is the number of the cores without using VI.

Maybe vmtools?

Thanx

Wagde

0 Kudos
1 Reply
FranckRookie
Leadership
Leadership

Hi Wagde,

You can't retrieve any information about the host directly from within the guest. You need to install one of the SDKs and run a request against the host or its vCenter through the network.

Good luck.

Regards

Franck

0 Kudos