Re: /var/log/messages question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"
x-info="http://www.rsyslog.com";] start

Hope that helps.
-- 
Peter Gordon (codergeek42) <peter@xxxxxxxxxxxxxxxx>
Who am I? :: http://thecodergeek.com/about-me

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux