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?
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
tail -f vmware.log
0
 
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
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
cat vmkernel.log

or tail -f vmkernel.log
0
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.