Just start from your heart.
分类: LINUX
2014-05-15 22:05:17
[root@web2 ~]# last
root pts/1 web1 Mon Feb 24 17:22 - 17:36 (00:14)
root pts/1 web1 Mon Feb 17 11:09 - 11:13 (00:03)
root pts/1 web1 Tue Jan 21 10:45 - 10:46 (00:01)
root pts/1 web1 Mon Jan 6 15:46 - 18:00 (02:14)
root pts/1 web1 Tue Dec 31 17:01 - 17:53 (00:51)
root pts/1 web1 Tue Dec 17 13:53 - 13:57 (00:04)
root pts/1 web1 Tue Dec 3 09:42 - 09:42 (00:00)
root pts/1 web1 Wed Nov 27 09:25 - 09:36 (00:11)
root pts/1 web1 Fri Nov 22 14:03 - 14:09 (00:06)
root pts/1 web1 Fri Nov 15 16:02 - 16:57 (00:55)
root pts/1 web1 Wed Nov 13 13:22 - 13:24 (00:01)
root pts/1 web1 Sat Nov 9 09:07 - 13:08 (04:01)
root pts/1 web1 Mon Nov 4 15:59 - 18:00 (02:00)
root pts/5 59.108.94.1 Thu Sep 26 23:38 - 00:06 (00:28)
root pts/4 59.108.94.1 Thu Sep 26 23:37 - 01:48 (02:11)
root pts/3 59.108.94.1 Thu Sep 26 23:18 - 00:06 (00:48)
last命令解释:
(1)、root:登录的用户名;
(2)、pst/1、pst/3的解释:pst是虚拟终端或者伪终端,pst/1是打开的第一个终端,pst/3是打开的 第二个终端;
(3)、web1/59.108.94.1解释:IP地址或者服务器名称;
(4)、TUE、MON解释:星期的英文缩写;
(5)、Sep 26解释:月份和日期
(6)、最后一个字段是登录的开始时间和结束时间及总登录时间