주요 콘텐츠로 건너뛰기

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

결론

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.

다른 한 분이 해당 안내서를 완성하였습니다.

Jacob Mehnert

회원 가입일: 10/18/21

27,297 평판

안내서 43개 작성하였습니다

iFanatics iFanatics 회원

Community

54 회원들

안내서 156개 작성하였습니다

댓글 0개

댓글 쓰기

조회 통계:

24 시간 전: 0

7일 전: 1

30일 전: 27

전체 시간: 834