Ana içeriğe geç

How to determine the cause for a restart in Kali Linux

    • Press Ctrl + Alt + T to open the Terminal Interface.

    • Enter the command sudo mkdir /var/log/journal

    • Enter the command: sudo systemd-tmpfiles --create --prefix /var/log/journal 2>/dev/null

    • sudo systemctl -s SIGUSR1 kill systemd-journald

    • Once this command is run, you will need to restart your machine to get your current system logs.

    • See your logged boots from your journal with the following: journalctl --list-boots

    • Locate a specific reboot using this command: journalctl -b {num} -n

Sonuç

Optionally you can use killall -USR1 systemd-journald rather than restarting your services. This way a user can keep all the logging from the current session.

Bir başkası bu kılavuzu tamamladı.

Jacob Mehnert

Üyelik tarihi: 10/18/21

27.027 İtibar

43 adet Kılavuz yazıldı

Ekip

iFanatics iFanatics üyesi

Community

54 Üyeler

154 adet Kılavuz yazıldı

0 Yorum

Yorum Ekle

İstatistikleri Görüntüle:

Son 24 Saat: 0

Son 7 gün: 5

Son 30 gün: 15

Her zaman: 812