Journalctl: Porovnání verzí

Z wiki
Skočit na navigaci Skočit na vyhledávání
Bez shrnutí editace
Bez shrnutí editace
Řádek 1: Řádek 1:


To list of the last 500 lines in the log before restart
To list of the last 500 lines in the log before restart
<code>journalctl -b -1 -n 500</code>
<code>journalctl -b -1 -n 500</code>




kernel panic or kernel failed -> do a search in kernel logs
kernel panic or kernel failed -> do a search in kernel logs
<code>journalctl -k -b -1</code>
<code>journalctl -k -b -1</code>

Verze z 16. 2. 2026, 13:40

To list of the last 500 lines in the log before restart

journalctl -b -1 -n 500


kernel panic or kernel failed -> do a search in kernel logs

journalctl -k -b -1