Linux logs

From Bitnami MediaWiki
Jump to navigation Jump to search

Log files in linux[edit]

Display logs from current boot only

 journalctl -b

Show times of last 10 boot sessions

 journalctl --list-boots

Journal since or to a time

 journalctl --since "2024-07-04 13:36:00" 

For a particular systemd process, since last boot

 journalctl -u NetworkManager.service -b 

Get warning level messages from dmesg

 dmesg -T -l warn