<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: dmesg vs syslog.log in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-vs-syslog-log/m-p/3751922#M787744</link>
    <description>There is some overlap here and syslog.log is nice because it gets timestamped.&lt;BR /&gt;&lt;BR /&gt;You may want to consider a way to timestamp the dmesg output that you are sending to /var/adm/messages or adding an echo command that puts the time in there as well.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 15 Mar 2006 13:03:52 GMT</pubDate>
    <dc:creator>Kent Ostby</dc:creator>
    <dc:date>2006-03-15T13:03:52Z</dc:date>
    <item>
      <title>dmesg vs syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-vs-syslog-log/m-p/3751917#M787739</link>
      <description>I had a discussion with another sa.  I told him I had dmesg setup in cron to output to /var/adm/messages.  He said that was redundant since that same information is in syslog.log.  I disagreed with him but wondered if there was something explaining that at HP somewhere?  I say that the information might be in dmesg and not syslog.log is why I do that.&lt;BR /&gt;&lt;BR /&gt;Michael</description>
      <pubDate>Wed, 15 Mar 2006 11:57:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-vs-syslog-log/m-p/3751917#M787739</guid>
      <dc:creator>Michael R. Monteith</dc:creator>
      <dc:date>2006-03-15T11:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: dmesg vs syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-vs-syslog-log/m-p/3751918#M787740</link>
      <description>A simple examination of the contents of the dmesg buffer versus the contents of the syslog file would make it pretty obvious that they were different.&lt;BR /&gt;&lt;BR /&gt;A careful examination of the man pages would also point out the difference.  Dmesg is dianostics, syslog can be most anything, depending on how it is configured - but it rarely contains any of the dmesg diagnostics.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 15 Mar 2006 12:02:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-vs-syslog-log/m-p/3751918#M787740</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-03-15T12:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: dmesg vs syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-vs-syslog-log/m-p/3751919#M787741</link>
      <description>Well, you are both wrong, kinda, sorta. First, dmesg is a circular buffer of fixed size so that once the buffer fills, only the most recent data are available but messages can be stored in this buffer before /var is even mounted. Secondly, syslog does as syslog is configured so that messages in syslog may or may not correspond to those in dmesg. Your approach has merit because those two logs are not always the same. You should be aware that regardless of the cron period, it is possible to fill the dmesg buffer so that data are lost between cron captures.</description>
      <pubDate>Wed, 15 Mar 2006 12:09:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-vs-syslog-log/m-p/3751919#M787741</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-15T12:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: dmesg vs syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-vs-syslog-log/m-p/3751920#M787742</link>
      <description>Thanks to both of you.  This is why I recommended putting in cron:&lt;BR /&gt;05,15,25,35,45,55 * * * * /usr/sbin/dmesg - &amp;gt;&amp;gt;/var/adm/messages 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;As we used to do that to give you time and dates when entries are put in and also a running record. Works nicely.&lt;BR /&gt;&lt;BR /&gt;Michael</description>
      <pubDate>Wed, 15 Mar 2006 12:15:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-vs-syslog-log/m-p/3751920#M787742</guid>
      <dc:creator>Michael R. Monteith</dc:creator>
      <dc:date>2006-03-15T12:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: dmesg vs syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-vs-syslog-log/m-p/3751921#M787743</link>
      <description>&lt;BR /&gt;Michael,&lt;BR /&gt;&lt;BR /&gt;As Clay stated, dmesg is a fixed length rolling buffer.  I have seen it fill up and roll over in less than 10 minutes.  I would rely on your cron job to capture all of the output of dmesg.&lt;BR /&gt;&lt;BR /&gt;If you really want the dmesg output you could try runnong a tail -f  &amp;gt; /var/adm/some_sile_name against it in the background&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Mar 2006 12:36:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-vs-syslog-log/m-p/3751921#M787743</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2006-03-15T12:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: dmesg vs syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-vs-syslog-log/m-p/3751922#M787744</link>
      <description>There is some overlap here and syslog.log is nice because it gets timestamped.&lt;BR /&gt;&lt;BR /&gt;You may want to consider a way to timestamp the dmesg output that you are sending to /var/adm/messages or adding an echo command that puts the time in there as well.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Mar 2006 13:03:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-vs-syslog-log/m-p/3751922#M787744</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2006-03-15T13:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: dmesg vs syslog.log</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-vs-syslog-log/m-p/3751923#M787745</link>
      <description>Using the cron entry above does that. You get date/time stamp.  That at least confirms when an entry made it into dmesg.  I know I've seen entries before using that method and wondered if it was new or old.  The cron entry method at least does that.&lt;BR /&gt;&lt;BR /&gt;Michael</description>
      <pubDate>Wed, 15 Mar 2006 13:16:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-vs-syslog-log/m-p/3751923#M787745</guid>
      <dc:creator>Michael R. Monteith</dc:creator>
      <dc:date>2006-03-15T13:16:08Z</dc:date>
    </item>
  </channel>
</rss>

