Where and how can I find the logs on esxi 4.1 to see how long snapshots are taking?

I need to check my esxi 4.1 host to see how long snapshots are taking. Can anyone tell me where to find these logs and how I can read them to find this information?
LVL 1
vmichAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You can check the Virtual Machine logs, vmware.log in the virtual machine folder.

on the host in

/var/log/vmkernel.log
0
vmichAuthor Commented:
So access this via ssh and if so, what do I type when at the # to get to these logs
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
cat vmkernel.log

or tail -f vmkernel.log
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
tail -f vmware.log
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vmichAuthor Commented:
so do I need to change to a certain folder to do this because it does not like this command whenI type it in..
I just need to find out how long it takes for the snapshots that are occuring...
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
change to directory

/var/log

and also to virtual machine folder on datastore

/vmfs/volumes/datastore name / virtual machine folder

why dont you also check events, because there will be create snapshot, and delete snapshot events
0
vmichAuthor Commented:
Ok I got the vmkernel.log file but how do I see what is in that log?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
use the commands I posted.

tail -f
0
vmichAuthor Commented:
does that display it via ssh or to a file
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
login via ssh.

view the file with tail
0
vmichAuthor Commented:
yes I tried that and when I ran the tail command it just took me down to a blank prompt in ssh
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
did you type

tail -f /var/log/vmkernel.log

you will see new changes in the log.....

-f is follow new events in log
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
also check vmware.log for the vm.
0
vmichAuthor Commented:
No I just want to see if there is anything in there about snapshots that ran on days before today and how long they ran...
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Im still not certain what you are trying to establish.

Time for the Create Snapshot process to finish?

Time for the Delete Snapshot process to finish?

these are recorded in the Events Log in vSphere Client
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Check vmware.logs, unless you have syslog ing setup, the events will be gone from vmkernel.log.

use cat or nano on vmware.logs in virtual machine folder
0
vmichAuthor Commented:
I am just trying to see when the snapshot starts and when it finishes. I thought I could find that in the win event viewer, but I am not seeing soemthing there in the App log for some reason...
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
vmware.logs or Events in vCenter
0
vmichAuthor Commented:
Ok thanks for your help...
0
vmichAuthor Commented:
solved
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.