TOP > Linux > Fedoraの技 > 201-300 > 253
システム停止とランレベル変更の情報を表示するには
lastコマンドで"-x"オプションを利用することでシステムの停止と、ランレベルの変更に関する情報を一覧表示させることができます。
$ last -x
john pts/0 192.168.0.31 Sat May 7 14:38 - 15:53 (01:15)
runlevel (to lvl 3) 2.6.9-1.667 Sat May 7 14:20 - 15:53 (01:33)
reboot system boot 2.6.9-1.667 Sat May 7 14:20 (01:33)
shutdown system down 2.6.9-1.667 Thu May 5 19:19 - 15:53 (1+20:33)
runlevel (to lvl 0) 2.6.9-1.667 Thu May 5 19:19 - 19:19 (00:00)
paul pts/2 192.168.0.16 Thu May 5 18:46 - down (00:33)
2005-12-03 作成