Shell.log is the one of the log file which helps us to resolve problems and in some scenarios it will help us to do the audit process.

Example 1

  1. With the below example we can see that per-worker-01a vm is runnin on esx-01a.

clip_image001

In few hours later we can notified that vm has powered off. We could nt find any logs in vCenter or in the os level.

What we can do is we can check the shell.log file. If someone has powered off the vm using command line on the ESXi , we can find the details.

clip_image002

In the above shell.log file we can see that someone has tried to power off this vm.

Example 2

Someone in your team trying to troubleshoot some problem in ESXi and he wants to handover that process to you. To get the clear idea what he has completed using command line we can check this file.

clip_image003