Debian -- 「まだ実行中」の「最後の再起動」エントリ 2 個

Debian -- 「まだ実行中」の「最後の再起動」エントリ 2 個

last -x reboot最後の2つの項目をとしてマークするのはなぜですかstill running?そして12月16日にサーバーを再起動しなかったことは確かですが、ホスティングプロバイダの力が大きかったかもしれません。それでは、これが予想される結果ですか?

root@cthulhu-new ~ # last -x reboot
reboot   system boot  4.13.0-0.bpo.1-a Sat Dec 16 06:26   still running
reboot   system boot  4.13.0-0.bpo.1-a Thu Dec  7 07:56   still running
reboot   system boot  4.13.0-0.bpo.1-a Wed Dec  6 11:10 - 07:55  (20:44)

wtmp begins Tue Dec  5 19:59:27 2017

last -x shutdown以下は、12月16日のエントリのない出力です。

root@cthulhu-new ~ # last -x shutdown
shutdown system down  4.13.0-0.bpo.1-a Thu Dec  7 07:55 - 07:56  (00:00)
shutdown system down  4.13.0-0.bpo.1-a Wed Dec  6 11:10 - 11:10  (00:00)

wtmp begins Tue Dec  5 19:59:27 2017

ベストアンサー1

はい、予想される結果です。lastシステムが12月16日に終了したかどうかはわかりません。おそらく正常な終了(停電など)ではなかったからでしょう。なぜならブーツの展示方法、最後の2回のリリースがまだ実行中だと思います。

次回システムがシャットダウンすると、状況はある程度自動的にクリーンアップされ、last12月7日と16日のブートでは新しいシャットダウン時間が使用されます。

おすすめ記事