/var/log/messages question
On Mon, 30 May 2011 16:05:07 -0700
Peter Gordon wrote: > imklog 5.7.9, log source = /proc/kmsg started. Yea, the same thing starts mine, but I just thought it would be nice to have something more obvious (and perhaps less likely to change someday :-). -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines |
/var/log/messages question
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. I agree. Even a couple of blank lines would help. -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines |
/var/log/messages question
On 05/30/2011 05:42 PM, Timothy Murphy wrote:
> 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. > > I agree. > Even a couple of blank lines would help. > > Indeed. Am I the only one on the list that thinks that XYZZY would be appropriate? -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines |
/var/log/messages question
On 05/30/2011 07:07 PM, Joe Zeff wrote:
> On 05/30/2011 05:42 PM, Timothy Murphy wrote: >> 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. >> >> I agree. >> Even a couple of blank lines would help. >> >> > > Indeed. Am I the only one on the list that thinks that XYZZY would be > appropriate? Nothing happens! John -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines |
/var/log/messages question
On Mon, 2011-05-30 at 18:36 -0400, Tom Horsley wrote:
> Just for curiosity, why has no one ever arranged to > log something like "Hey! I'm booting the system again!" > as the very first line in that goes to /var/log/messages > when the system is booting? I used to do something like that back when I was still using another OS. I modified the bootup script to add my own entry at the beginning. You could do the same, I don't think the script gets changed by updates that often. -- [tim@localhost ~]$ uname -r 2.6.27.25-78.2.56.fc9.i686 Don't send private replies to my address, the mailbox is ignored. I read messages from the public lists. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines |
/var/log/messages question
On Mon, 2011-05-30 at 19:07 -0700, Joe Zeff wrote:
> On 05/30/2011 05:42 PM, Timothy Murphy wrote: > > 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. > > > > I agree. > > Even a couple of blank lines would help. > > > > > > Indeed. Am I the only one on the list that thinks that XYZZY would be > appropriate? You are in a maze of twisty little passages, all alike ... poc -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines |
/var/log/messages question
On 05/30/2011 09:07 PM, Joe Zeff wrote:
> On 05/30/2011 05:42 PM, Timothy Murphy wrote: >> 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. >> >> I agree. >> Even a couple of blank lines would help. >> >> > > Indeed. Am I the only one on the list that thinks that XYZZY would be > appropriate? A hollow voice says, "Plugh." -- Bob Nichols "NOSPAM" is really part of my email address. Do NOT delete it. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines |
/var/log/messages question
> On Mon, 2011-05-30 at 18:36 -0400, Tom Horsley wrote:
>> > Just for curiosity, why has no one ever arranged to >> > log something like "Hey! I'm booting the system again!" >> > as the very first line in that goes to /var/log/messages >> > when the system is booting? > I used to do something like that back when I was still using another OS. > I modified the bootup script to add my own entry at the beginning. You > could do the same, I don't think the script gets changed by updates that > often. It is far easier to add: echo "Completed boot at `date`" to the bottom of /etc/rc.d/rc.local Then it does not matter whether the system is using the old method or systemd and whether it is writing to 'messages' or boot.log. R. Geoffrey Newbury -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines |
/var/log/messages question
On 05/31/2011 08:25 AM, R. G. Newbury wrote:
>> On Mon, 2011-05-30 at 18:36 -0400, Tom Horsley wrote: >>>> Just for curiosity, why has no one ever arranged to >>>> log something like "Hey! I'm booting the system again!" >>>> as the very first line in that goes to /var/log/messages >>>> when the system is booting? It does. There are several ways to find the top of the last boot. Assuming that you have rebooted since the last time /var/log/messages was rolled over, you can easily search for the top of the messages. Here are a couple of guidelines: First, the word ' Linux ', note the spaces, is not common in the logs, and always appears near the top of the boot sequence. Usually within the first 4 or 5 lines. Second, no matter how fast your system reboots, the messages written at boot time will be written in a faster sequence than what was happening before the reboot, thus giving an obvious 'break' in the log time stamps at the beginning of a boot. If you check more than a few times, you will notice that syslog itself reports the first line of boot, and you can search for that. So in summary, if you see a syslog startup, followed within a few lines by the word ' Linux ', and what comes after that appear to be BIOS info, and that all these messages happen in the same second or two, you have found the top of the boot sequence. Here is the top of my last boot: ... May 30 08:11:27 grok kernel: imklog 5.7.9, log source = /proc/kmsg started. May 30 08:11:27 grok rsyslogd: [origin software="rsyslogd" swVersion="5.7.9" x-pid="802" x-info="http://www.rsyslog.com"] start May 30 08:11:27 grok kernel: [ 0.000000] Initializing cgroup subsys cpuset May 30 08:11:27 grok kernel: [ 0.000000] Initializing cgroup subsys cpu May 30 08:11:27 grok kernel: [ 0.000000] Linux version 2.6.38.6-27.fc15.x86_64 (mockbuild@x86-03.phx2.fedoraproject.org) (gcc version 4.6.0 20110428 (Red Hat 4.6.0-6) (GCC) ) #1 SMP Sun May 15 17:23:28 UTC 2011 ... Good Luck! -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines |
/var/log/messages question
On Tue, 31 May 2011 10:17:56 -0600
Phil Meyer wrote: > So in summary, if you see a syslog startup, followed within a few lines > by the word ' Linux ', and what comes after that appear to be BIOS info, > and that all these messages happen in the same second or two, you have > found the top of the boot sequence. All of which make my point that it would sure be a lot simpler if there was merely a known string always printed at the top :-). At one time I relied on timestamp gaps till I was trying to figure out the logs on a system where ntp was fighting with something else and the time kept wildly swinging on the running system. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines |
| All times are GMT. The time now is 12:43 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.