쉘접속하여 평소 문제가 있었던 부분을 체크하려고 하는데요
계속 공부중인 esxi 서버에 접속하는 중궈 녀석이 있네요..
해당 내용을 쉘에서도 log 조회를 할 수 있을 거 같은데 아래 부분에서 나오지 않아서요
혹시 쉘에서도 위와 같은 스크린샷 내용을 조회가 가능할까요?
---------------
ESXi 5.0 Host Log Files
Logs for an ESXi 5.0 host are grouped according to the source component:
/var/log/auth.log
: ESXi Shell authentication success and failure./var/log/dhclient.log
: DHCP client service, including discovery, address lease requests and renewals./var/log/esxupdate.log
: ESXi patch and update installation logs./var/log/hostd.log
: Host management service logs, including virtual machine and host Task and Events, communication with the vSphere Client and vCenter Servervpxa
agent, and SDK connections./var/log/shell.log
: ESXi Shell usage logs, including enable/disable and every command entered. For more information, see the Managing vSphere with Command-Line Interfaces section of the vSphere 5 Command Line documentation and Auditing ESXi Shell logins and commands in ESXi 5.x (2004810)./var/log/sysboot.log
: Early VMkernel startup and module loading.- /var/log/boot.gz : A compressed file that contains boot log information and can be read using zcat /var/log/boot.gz|more .
/var/log/syslog.log
: Management service initialization, watchdogs, scheduled tasks and DCUI use./var/log/usb.log
: USB device arbitration events, such as discovery and pass-through to virtual machines./var/log/vobd.log
: VMkernel Observation events, similar tovob.component.event
.
Note: For clarification VOB and the corresponding service VOBD propagates kernel level errors to third-party applications. VOBD is a daemon that VMware and third-party applications use for monitoring and troubleshooting.
/var/log/vmkernel.log
: Core VMkernel logs, including device discovery, storage and networking device and driver events, and virtual machine startup./var/log/vmkwarning.log
: A summary of Warning and Alert log messages excerpted from the VMkernel logs./var/log/vmksummary.log
: A summary of ESXi host startup and shutdown, and an hourly heartbeat with uptime, number of virtual machines running, and service resource consumption. For more information, see Format of the ESXi 5.0 vmksummary log file (2004566).
Note: For information on sending logs to another location such as a datastore or remote syslog server, see Configuring syslog on ESXi 5.0 (2003322)
.
---------------------------
---------------------------
happy day
cat /var/log/auth.log | grep error
ÀÌÁ¤µµ¸é ½ÇÆи¸ °ñ¶ó¼ ³ª¿ÀÁö ¾ÊÀ»±î ½Í³×¿ä.