Linux var 日志
/var/log/message :系统日志信息
[root@xiesongyou log]# tail -1 messages
Oct 25 09:18:46 xiesongyou dhclient[906]: bound to 192.168.154.129 -- renewal in 738 seconds.
/var/log/secure 安全日志信息 主要是sshd日志
[root@xiesongyou log]# tail -1 secure
Oct 25 09:20:50 xiesongyou sshd[1208]: pam_unix(sshd:session): session closed for user xsy
[root@xiesongyou log]# dmesg |head 硬件日志信息
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.32-504.el6.x86_64 (mockbuild@c6b9.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) ) #1 SMP Wed Oct 15 04:27:16 UTC 2014
Command line: ro root=UUID=831789ca-84f4-493b-900a-836c6971bacf rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
Centaur CentaurHauls
Disabled fast string operations
BIOS-provided physical RAM map: