Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2011 09:00:09 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Alexander Best <arundel@freebsd.org>
Cc:        Nikolay Denev <ndenev@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org>, Arnaud Lacombe <lacombar@gmail.com>
Subject:   Re: [RFC] Prepend timestamp in msgbuf
Message-ID:  <40448.1318582809@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 14 Oct 2011 08:56:09 GMT." <20111014085609.GA3799@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20111014085609.GA3799@freebsd.org>, Alexander Best writes:

>1) would it be possible to prepend those timestamps to the actual console
>output and not only to the output of demsg? maybe via a sysctl toggle?

The kernel does not know enough about timezones to emit anything
but UTC timestamps.

>2) my dmesg output contains a lot of these entries: "<118>"

These are magic markers for syslogd(8) specifying priority.

>3) roughly the first 30 lines of my dmesg output have the timestamp "[1.0]".
>would it be possible to have more accuracy there?

No, because we don't know the time until we've found the RTC chip.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40448.1318582809>