[root@mojily~]# last
root pts/0 218.xxx.xxx.201 Fri Aug 20 13:41 still logged in
root pts/0 218.xxx.xxx.201 Thu Aug 19 17:44 - 18:33 (00:49)
reboot system boot 2.6.18-194.8.1.e Thu Aug 19 17:43 (21:11)
root pts/0 218.xxx.xxx.201 Thu Aug 19 17:36 - crash (00:07)
reboot system boot 2.6.18-194.8.1.e Thu Aug 19 17:36 (21:19)
root tty1 Thu Aug 19 17:33 - down (00:00)
root pts/0 218.xxx.xxx.201 Thu Aug 19 17:25 - down (00:07)
reboot system boot 2.6.18-194.8.1.e Thu Aug 19 17:24 (00:08)
root tty1 Thu Aug 19 16:51 - crash (00:33)
root pts/1 218.xxx.xxx.201 Thu Aug 19 16:47 - crash (00:37)
root pts/0 218.xxx.xxx.201 Thu Aug 19 16:44 - crash (00:40)
root pts/0 218.xxx.xxx.201 Thu Aug 19 12:59 - 16:29 (03:29)
last 명령어를 치게됬을경우 나타나는 메세지들이다...
여기에 logout out 과 logged in 기록이 있는데 logout 에 나타나는 기록에 대한 설명이다.
CRASH 1 /* No logout record, system boot in between */ 시스템이 부팅되고나서 로그아웃기록이 없을경우
DOWN 2 /* System brought down in decent way */ 정상적인 방법으로 다운
NORMAL 3 /* Normal */
NOW 4 /* Still logged in */
REBOOT 5 /* Reboot record. */
PHANTOM 6 /* No logout record but session is stale. */ 세션이 있지만 로그아웃에 대한 기록이 없을경우
TIMECHANGE 7 /* NEW_TIME or OLD_TIME */