# #正常关机重启
Jul 16:59:50 ubuntu3 kernel:kernel logging (proc) stopped.
Jul 16:59:50 ubuntu3 rsyslogd: [Origin software= "Rsyslogd" swversion= "5.8.6" x-pid= "943" x-info= "/HTTP/ Www.rsyslog.com "] exiting on signal 15.
Jul 17:00:10 ubuntu3 kernel:imklog 5.8.6, log Source =/proc/kmsg started.
Jul 17:00:10 ubuntu3 rsyslogd: [Origin software= "Rsyslogd" swversion= "5.8.6" x-pid= "+" x-info= "/HTTP/ Www.rsyslog.com "] Start
Jul 17:00:10 ubuntu3 rsyslogd:rsyslogd ' s GroupID changed to 103
Jul 17:00:10 ubuntu3 rsyslogd:rsyslogd ' s UserID changed to 101
Jul 17:00:10 ubuntu3 rsyslogd-2039:could not open output pipe '/dev/xconsole ' [try http://www.rsyslog.com/e/2039]
Jul 17:00:10 ubuntu3 kernel: [0.000000] Initializing cgroup Subsys cpuset
Jul 17:00:10 ubuntu3 kernel: [0.000000] Initializing cgroup Subsys CPU
Jul 17:00:10 ubuntu3 kernel: [0.000000] Initializing cgroup Subsys CPUACCT
Jul 17:00:10 ubuntu3 kernel: [0.000000] Linux version 3.13.0-32-generic ([email protected]) (GCC version 4.6.3 (Ubu Ntu/linaro 4.6.3-1ubuntu5)) #57 ~precise1-ubuntu SMP Tue Jul 03:51:20 UTC (Ubuntu 3.13.0-32.57~precise1-generic 3. 13.11.4)
Jul 17:00:10 ubuntu3 kernel: [0.000000] Command line:boot_image=/vmlinuz-3.13.0-32-generic Root=/dev/mapper/ubuntu 2--vg-root ro
Jul 17:00:10 ubuntu3 kernel: [0.000000] kernel supported CPUs:
Jul 17:00:10 ubuntu3 kernel: [0.000000] Intel Genuineintel
Jul 17:00:10 ubuntu3 kernel: [0.000000] AMD AUTHENTICAMD
Jul 17:00:10 ubuntu3 kernel: [0.000000] Centaur centaurhauls
Jul 17:00:10 ubuntu3 kernel: [0.000000] Disabled fast string operations
Jul 17:00:10 ubuntu3 kernel: [0.000000] e820:bios-provided physical RAM Map:
Jul 17:00:10 ubuntu3 kernel: [0.000000] bios-e820: [Mem 0x0000000000000000-0x000000000009e7ff] Usable
Jul 17:00:10 ubuntu3 kernel: [0.000000] bios-e820: [mem 0x000000000009e800-0x000000000009ffff] Reserved
# #非正常关机
Jul 17:08:17 ubuntu3 kernel:imklog 5.8.6, log Source =/proc/kmsg started.
Jul 17:08:17 ubuntu3 rsyslogd: [Origin software= "Rsyslogd" swversion= "5.8.6" x-pid= "1106" x-info= "/HTTP/ Www.rsyslog.com "] Start
Jul 17:08:17 ubuntu3 rsyslogd:rsyslogd ' s GroupID changed to 103
Jul 17:08:17 ubuntu3 rsyslogd:rsyslogd ' s UserID changed to 101
Jul 17:08:17 ubuntu3 rsyslogd-2039:could not open output pipe '/dev/xconsole ' [try http://www.rsyslog.com/e/2039]
Jul 17:08:17 ubuntu3 kernel: [0.000000] Initializing cgroup Subsys cpuset
Jul 17:08:17 ubuntu3 kernel: [0.000000] Initializing cgroup Subsys CPU
Jul 17:08:17 ubuntu3 kernel: [0.000000] Initializing cgroup subsys cpuacctjul 17:08:17 ubuntu3 kernel: [0.00 0000] Linux Version 3.13.0-32-generic ([email protected]) (GCC version 4.6.3 (Ubuntu/linaro 4.6.3-1ubuntu5)) #57 ~precise1 -ubuntu SMP Tue Jul 03:51:20 UTC (Ubuntu 3.13.0-32.57~precise1-generic 3.13.11.4)
Jul 17:08:17 ubuntu3 kernel: [0.000000] Command line:boot_image=/vmlinuz-3.13.0-32-generic Root=/dev/mapper/ubuntu 2--vg-root ro
Jul 17:08:17 ubuntu3 kernel: [0.000000] kernel supported CPUs:
Jul 17:08:17 ubuntu3 kernel: [0.000000] Intel Genuineintel
Jul 17:08:17 ubuntu3 kernel: [0.000000] AMD AUTHENTICAMD
Jul 17:08:17 ubuntu3 kernel: [0.000000] Centaur centaurhauls
Jul 17:08:17 ubuntu3 kernel: [0.000000] Disabled fast string operations
Jul 17:08:17 ubuntu3 kernel: [0.000000] e820:bios-provided physical RAM Map:
Jul 17:08:17 ubuntu3 kernel: [0.000000] bios-e820: [Mem 0x0000000000000000-0x000000000009e7ff] Usable
Jul 17:08:17 ubuntu3 kernel: [0.000000] bios-e820: [mem 0x000000000009e800-0x000000000009ffff] Reserved
# #对比发现正常关机重启比非正常关机重启多了两行:
Jul 16:59:50 ubuntu3 kernel:kernel logging (proc) stopped.
Jul 16:59:50 ubuntu3 rsyslogd: [Origin software= "Rsyslogd" swversion= "5.8.6" x-pid= "943" x-info= "/HTTP/ Www.rsyslog.com "] exiting on signal 15.
This article is from the "Attitude decides everything" blog, please make sure to keep this source http://relearn.blog.51cto.com/2605709/1825802
ubuntu12.04 syslog logging Normal and abnormal shutdown restart