温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

ubuntu12.04 syslog记录正常与非正常关机重启

发布时间:2020-06-30 13:35:14 来源:网络 阅读:5748 作者:julyf 栏目:移动开发

##正常关机重启

Jul 12 16:59:50 ubuntu3 kernel: Kernel logging (proc) stopped.

Jul 12 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 12 17:00:10 ubuntu3 kernel: imklog 5.8.6, log source = /proc/kmsg started.

Jul 12 17:00:10 ubuntu3 rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="1000" x-info="http://www.rsyslog.com"] start

Jul 12 17:00:10 ubuntu3 rsyslogd: rsyslogd's groupid changed to 103

Jul 12 17:00:10 ubuntu3 rsyslogd: rsyslogd's userid changed to 101

Jul 12 17:00:10 ubuntu3 rsyslogd-2039: Could not open output pipe '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]

Jul 12 17:00:10 ubuntu3 kernel: [    0.000000] Initializing cgroup subsys cpuset

Jul 12 17:00:10 ubuntu3 kernel: [    0.000000] Initializing cgroup subsys cpu

Jul 12 17:00:10 ubuntu3 kernel: [    0.000000] Initializing cgroup subsys cpuacct

Jul 12 17:00:10 ubuntu3 kernel: [    0.000000] Linux version 3.13.0-32-generic (buildd@phianna) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #57~precise1-Ubuntu SMP Tue Jul 15 03:51:20 UTC 2014 (Ubuntu 3.13.0-32.57~precise1-generic 3.13.11.4)

Jul 12 17:00:10 ubuntu3 kernel: [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.13.0-32-generic root=/dev/mapper/ubuntu2--vg-root ro

Jul 12 17:00:10 ubuntu3 kernel: [    0.000000] KERNEL supported cpus:

Jul 12 17:00:10 ubuntu3 kernel: [    0.000000]   Intel GenuineIntel

Jul 12 17:00:10 ubuntu3 kernel: [    0.000000]   AMD AuthenticAMD

Jul 12 17:00:10 ubuntu3 kernel: [    0.000000]   Centaur CentaurHauls

Jul 12 17:00:10 ubuntu3 kernel: [    0.000000] Disabled fast string operations

Jul 12 17:00:10 ubuntu3 kernel: [    0.000000] e820: BIOS-provided physical RAM map:

Jul 12 17:00:10 ubuntu3 kernel: [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009e7ff] usable

Jul 12 17:00:10 ubuntu3 kernel: [    0.000000] BIOS-e820: [mem 0x000000000009e800-0x000000000009ffff] reserved



##非正常关机


Jul 12 17:08:17 ubuntu3 kernel: imklog 5.8.6, log source = /proc/kmsg started.

Jul 12 17:08:17 ubuntu3 rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="1106" x-info="http://www.rsyslog.com"] start

Jul 12 17:08:17 ubuntu3 rsyslogd: rsyslogd's groupid changed to 103

Jul 12 17:08:17 ubuntu3 rsyslogd: rsyslogd's userid changed to 101

Jul 12 17:08:17 ubuntu3 rsyslogd-2039: Could not open output pipe '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]

Jul 12 17:08:17 ubuntu3 kernel: [    0.000000] Initializing cgroup subsys cpuset

Jul 12 17:08:17 ubuntu3 kernel: [    0.000000] Initializing cgroup subsys cpu

Jul 12 17:08:17 ubuntu3 kernel: [    0.000000] Initializing cgroup subsys cpuacctJul 12 17:08:17 ubuntu3 kernel: [    0.000000] Linux version 3.13.0-32-generic (buildd@phianna) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #57~precise1-Ubuntu SMP Tue Jul 15 03:51:20 UTC 2014 (Ubuntu 3.13.0-32.57~precise1-generic 3.13.11.4)

Jul 12 17:08:17 ubuntu3 kernel: [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.13.0-32-generic root=/dev/mapper/ubuntu2--vg-root ro

Jul 12 17:08:17 ubuntu3 kernel: [    0.000000] KERNEL supported cpus:

Jul 12 17:08:17 ubuntu3 kernel: [    0.000000]   Intel GenuineIntel

Jul 12 17:08:17 ubuntu3 kernel: [    0.000000]   AMD AuthenticAMD

Jul 12 17:08:17 ubuntu3 kernel: [    0.000000]   Centaur CentaurHauls

Jul 12 17:08:17 ubuntu3 kernel: [    0.000000] Disabled fast string operations

Jul 12 17:08:17 ubuntu3 kernel: [    0.000000] e820: BIOS-provided physical RAM map: 

Jul 12 17:08:17 ubuntu3 kernel: [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009e7ff] usable

Jul 12 17:08:17 ubuntu3 kernel: [    0.000000] BIOS-e820: [mem 0x000000000009e800-0x000000000009ffff] reserved


##对比发现正常关机重启比非正常关机重启多了两行:

Jul 12 16:59:50 ubuntu3 kernel: Kernel logging (proc) stopped.

Jul 12 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.


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI