Dmesg shows no timestamp
-
13-01-2021 - |
Question
The sudo dmesg command works fine, but shows no timestamp. Is there any way to get it to show the timestamps as well?
Solution
Not by using dmesg
which is a very simple command. But you can use
sudo fgrep "kernel[0]" /var/log/system.log
instead to get the same messages from the system log file, including a time stamp.
Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange