On 05/30/2011 03:36 PM, Tom Horsley wrote:
> If would be real convenient to have a known string to
> search for that always precedes the rest of the messages
> in a new boot.
You could try grep'ing for the Linux version string, always one of the
first several lines printed during kernel startup. Try searching for
something such as "[ 0.000000] Linux version".
Alternatively, you could search for your logger's "start" message. On my
Fedora 15 install, the first messages on each boot are:
imklog 5.7.9, log source = /proc/kmsg started.
rsyslogd: [origin software="rsyslogd" swVersion="5.7.9" x-pid="872"
Hope that helps.
Peter Gordon (codergeek42) <firstname.lastname@example.org>
Who am I? :: http://thecodergeek.com/about-me
users mailing list
To unsubscribe or change subscription options: