If you're looking to utilize the vSphere SDK, you won't be extracting this information from within the ESX Service Console, you'll be remotely connecting from either a Linux/Windows system and called from variety of languages (Powershell,Perl,C#, Java, etc.)
If you want to extract this using the Perl bindings (vSphere SDK for Perl), take a look at this vSphere health report which extracts this information: VMware vSphere Health Check Report v1.3
Hi William,
Thank you very much for your help! And do you know where can i find the related java sample code using the vSphere SDK? (I have downloaded the visdk4.0, but have not found any helpful code yet)
Thank you again!
Dikang