Andre Albsmeier <[email protected]> wrote:

> FWIW, this is a patch for dmesg(1) I use. You can enable timestamp
> conversion using -t and optionally specify a different output format
> using -f "fmt".
>
> If interested for inclusion in base, I could try to re-format it
> and come up with a manpage diff...

I'vw been meaning to do that for some time, so cool, now I don't have to :-)

I am not able to test the patch at the moment, but I looked at the patch
itself, and I like it. I like how you replace the numerical uptime with
the date/time (that's what I was planning on doing), but the addition of
the time formatting option is a nice touch I hadn't thought of doing!

I think this would make a nice addition to base dmesg, and I think
Warner was talking about getting proper datestamps in dmesg output a
while ago (though I'm not sure whether he meant at the dmesg presentation
side, or a sysctl to place the timestamp in the kernel-buffer messsage itself)

Hopefully I haven't got this wrong, and he can elaborate.

Cheers, Jamie

Reply via email to