查看 重启情况
# last reboot
--------------------------------------------------------------------------------------------------------------------------------------------
reboot system boot 2.6.18-92.el5 Mon Dec 6 12:50 (05:11)
reboot system boot 2.6.18-92.el5 Mon Dec 6 10:49 (07:12)
reboot system boot 2.6.18-92.el5 Sun Dec 5 18:56 (23:05)
reboot system boot 2.6.18-92.el5 Mon Nov 29 09:55 (7+08:06)
reboot system boot 2.6.18-92.el5 Sun Nov 28 13:47 (8+04:14)
reboot system boot 2.6.18-92.el5 Thu Nov 25 11:59 (11+06:02)
reboot system boot 2.6.18-92.el5 Wed Nov 24 10:51 (12+07:10)
reboot system boot 2.6.18-92.el5 Fri Nov 19 13:37 (17+04:24)
reboot system boot 2.6.18-92.el5 Fri Nov 19 13:28 (00:00)
reboot system boot 2.6.18-92.el5 Wed Nov 10 09:22 (9+03:51)
reboot system boot 2.6.18-92.el5 Mon Nov 8 09:14 (11+03:59)
reboot system boot 2.6.18-92.el5 Sat Sep 25 20:57 (54+16:16)
reboot system boot 2.6.18-92.el5 Wed Jul 28 15:13 (113+22:00)
reboot system boot 2.6.18-92.el5 Wed Jun 30 04:17 (28+10:49)
reboot system boot 2.6.18-92.el5 Wed Jun 30 01:39 (02:31)
----------------------------------------------------------------------------------------------
查看 用户登录 情况
# last
----------------------------------------------------------------------------------------------
root pts/1 172.16.104.50 Mon Dec 6 17:58 still logged in (这里表示用户当前在线)
root pts/3 172.16.104.50 Mon Dec 6 16:05 - 16:08 (00:02)
linux登录命令weblogic pts/2 192.168.14.22 Mon Dec 6 14:54 - 17:52 (02:58) (用户在线的时间)
root pts/1 172.16.104.50 Mon Dec 6 14:27 - 17:52 (03:25)
weblogic pts/2 192.168.14.13 Mon Dec 6 14:04 - 14:26 (00:22)
root pts/1 172.16.104.50 Mon Dec 6 13:38 - 14:08 (00:30)
root pts/1 172.16.104.50 Mon Dec 6 13:35 - 13:35 (00:00)
-
----------------------------------------------------------------------------------------------
查看 用户历史命令
# history
-------------------------------------------------------------------------------------------
982 history | more
983 date
984 history | more
985 uptime
986 uptime
987 date
988 date
989 date
990 uptime
991 who /var/log/wtmp
992 more /var/log/secure
993 tail -200 /var/log/secure |more
994 hostory|more
995 history|more
996
997 pwd
998 cd /
999 su -weblogic
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论