On Saturday, November 9th, 2024 at 2:53 PM, Russell Senior <[email protected]> wrote:
> > On 11/9/24 14:47, Paul Heinlein wrote: > > > On Sat, 9 Nov 2024, Ben Koenig wrote: > > > > > You can also automate this to only give you the difference, here's a > > > rough example. > > > dmesg > dmesg-before.log > > > # insert the device > > > dmesg > dmesg-after.log > > > diff dmesg-before.log dmesg-after.log > > > > The -T option for dmesg is very useful, translating seconds since boot > > into readable timestamps. > > > The -T option to dmesg was a life changer for me. I once was blind, but > now I see! > > > -- > Russell Senior > [email protected] True, if you are curious about previous failures or if the failure is intermittent that is the better way to invoke it. I'm usually too lazy for the extra 3 keystrokes so at some point I will probably just create an alias so it always shows the full time. -Ben
