VMware Cloud Community
tdubb123
Expert
Expert

how to check esx version from command line

how do I check the esx version from command line?

Reply
0 Kudos
11 Replies
mcowger
Immortal
Immortal

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

--Matt

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

vmware -v

Reply
0 Kudos
Dave_Mishchenko
Immortal
Immortal

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

Reply
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?

Reply
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

Reply
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

Reply
0 Kudos
francois_tiers
Enthusiast
Enthusiast

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

Reply
0 Kudos
cheeko
Expert
Expert

vmware -v gives you the the vmkernel version

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

Reply
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
Reply
0 Kudos
mudha
Hot Shot
Hot Shot

could anybody share guide of vimsh ?

appriciated your help

Reply
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 XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Reply
0 Kudos