日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux下oracle错误日志,Linux系统最近重启时间、错误日志

發布時間:2024/1/18 linux 42 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux下oracle错误日志,Linux系统最近重启时间、错误日志 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

查看Linux系統最近重啟命令

[root@localhost ~]# last reboot

rebootsystem boot2.6.18-164.el5Wed Dec 22 20:19(12:58)

rebootsystem boot2.6.18-164.el5Wed Nov 10 10:41(42+09:17)

rebootsystem boot2.6.18-164.el5Tue Oct 26 19:49(14+14:42)

rebootsystem boot2.6.18-164.el5Fri Oct 22 00:22(4+19:21)

rebootsystem boot2.6.18-164.el5Thu Oct 21 03:47(5+15:56)

rebootsystem boot2.6.18-164.el5Wed Oct 20 23:43(5+20:00)

rebootsystem boot2.6.18-164.el5Sat Sep 18 20:31(37+23:12)

在2010-12-22 20:19重啟了系統

可以看到正常命令重啟顯示為down,而電源強制重啟為crash。

查看最近用戶登錄情況

[root@localhost ~]# last

oraclepts/110.1.1.1???????? Thu Dec 23 08:59still logged in

rebootsystem boot2.6.18-164.el5Wed Dec 22 20:19(12:59)

rootpts/110.1.1.2?? Sun Dec 12 13:07 - 13:59(00:52)

查看操作系統的歷史命令:

[root@localhost ~]#history |more

382top

383df -lh

384top

385service iptables stop

386last

387last reboot

388last

389history

390history |more

在執行top命令時都可以查看系統狀態,然后就出現了reboot重啟系統的狀況。在service iptables stop命令之前沒有查下到reboot的命令,可見是系統重啟。

查看系統的日子信息:

[root@localhost ~]#cat /var/log/messages |more

Dec 20 02:46:56 localhost xinetd[5248]: EXIT: telnet status=1 pid=12350 duration

=30(sec)

Dec 22 19:59:12 localhost shutdown[32014]: shutting down for system halt

Dec 22 19:59:12 localhost pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0

Not Found

Dec 22 19:59:13 localhost smartd[5472]: smartd received signal 15: Terminated

Dec 22 19:59:13 localhost smartd[5472]: smartd is exiting (exit status 0)

Dec 22 19:59:14 localhost avahi-daemon[5410]: Got SIGTERM, quitting.

Dec 22 19:59:14 localhost avahi-daemon[5410]: Leaving mDNS multicast group on in

terface usb0.IPv6 with address fe80::21:5eff:fe9c:b6d7.

Dec 22 19:59:14 localhost avahi-daemon[5410]: Leaving mDNS multicast group on in

terface eth0.IPv6 with address fe80::221:5eff:fe98:b6f4.

Dec 22 19:59:14 localhost avahi-daemon[5410]: Leaving mDNS multicast group on in

terface eth0.IPv4 with address 10.132.0.162.

Dec 22 20:21:08 localhost syslogd 1.4.1: restart.

Dec 22 20:21:08 localhost kernel: klogd 1.4.1, log source = /proc/kmsg started.

Dec 22 20:21:08 localhost kernel: Linux version 2.6.18-164.el5 (mockbuild@x86-00

3.build.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP T

ue Aug 18 15:51:48 EDT 2009

后經確認,這是在機房人為重啟服務器。

總結

以上是生活随笔為你收集整理的linux下oracle错误日志,Linux系统最近重启时间、错误日志的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。