tdubb123
Expert
Expert

how to check esx version from command line

how do I check the esx version from command line?

0 Kudos
11 Replies
mcowger
Immortal
Immortal

vimsh -n -e 'hostsvc/hostsummary' | grep fullName

--Matt

--Matt VCDX #52 blog.cowger.us
0 Kudos
adolopo
Enthusiast
Enthusiast

vmware -v

0 Kudos
Dave_Mishchenko
Immortal
Immortal

vmware -v - are you using ESX 3i or 3.5?

0 Kudos
tdubb123
Expert
Expert

This is strange, on the console, I type in vmware -v

It shows VMware ESX Server 3.0.2 build-61618

But when I try to add this to an existing 3.0.2 cluster in VC 2.02

It shows as

Version: VMware ESX Server 3.5.0 build-64607

any idea?

0 Kudos
bggb29
Expert
Expert

Just checked one of my servers

using vmware -v VMware ESX Server 3.5.0 build-82663

same shows in summary from vc, No discrepancies here

0 Kudos
Dave_Mishchenko
Immortal
Immortal

Your post has been moved to the ESX Server 3.x Configuration forum

Dave Mishchenko

VMware Communities User Moderator

0 Kudos
francois_tiers
Enthusiast
Enthusiast

The better solution to see the version is : vimsh -n -e 'hostsvc/hostsummary' | grep fullName

0 Kudos
cheeko
Expert
Expert

vmware -v gives you the the vmkernel version

vimsh -n -e 'hostsvc/hostsummary' gives you the hostd version.

0 Kudos
malaysiavm
Expert
Expert

cat /proc/vmware/version

Malaysia VMware Communities -

Craig vExpert 2009 & 2010 Netapp NCIE, NCDA 8.0.1 Malaysia VMware Communities - http://www.malaysiavm.com
0 Kudos
mudha
Hot Shot
Hot Shot

could anybody share guide of vimsh ?

appriciated your help

0 Kudos
Texiwill
Leadership
Leadership

Hello,

Check out http://www.xtravirt.com for a VIMSH whitepaper. It is the one everyone uses.


Best regards,
Edward L. Haletky
VMware Communities User Moderator
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.
Blue Gears and SearchVMware Pro Blogs -- Top Virtualization Security Links -- Virtualization Security Round Table Podcast

--
Edward L. Haletky
vExpert XII: 2009-2020,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos