<?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: syslog in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog/m-p/4070774#M307495</link>
    <description>dmesg does have timestamps -- you have to run it with the 'newer' option which just a - as in:&lt;BR /&gt; &lt;BR /&gt;dmesg -&lt;BR /&gt; &lt;BR /&gt;The firat time you run it, you see the entire buffer. The next time, you see nothing -- unless something new has been sent to the message buffer. So to create a log with time stamps, put this in root's crontab:&lt;BR /&gt; &lt;BR /&gt;0,10,20,30,40,50 * * * * dmesg - &amp;gt;&amp;gt; /var/adm/dmesg.log&lt;BR /&gt; &lt;BR /&gt;Now you'll have a time-stamped log of dmesg entries.</description>
    <pubDate>Fri, 14 Sep 2007 18:46:13 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2007-09-14T18:46:13Z</dc:date>
    <item>
      <title>syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog/m-p/4070770#M307491</link>
      <description>what is the difference between syslog and dmesg.</description>
      <pubDate>Fri, 14 Sep 2007 10:03:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog/m-p/4070770#M307491</guid>
      <dc:creator>Indrajit Bhagat</dc:creator>
      <dc:date>2007-09-14T10:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog/m-p/4070771#M307492</link>
      <description>Dmesg is implemented as a circular buffer of finite size; it's main advantage is that the OS can always report to it even if every filesystem is full but because of circular nature earlier messages can be overwritten by later ones. The syslog is the file written by the syslog deamon (syslogd) and because it is a file rather than a circular buffer, it's size is really only limited by the capacity of the filesystem which hosts the file.</description>
      <pubDate>Fri, 14 Sep 2007 10:07:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog/m-p/4070771#M307492</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-09-14T10:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog/m-p/4070772#M307493</link>
      <description>Hi Indrajit:&lt;BR /&gt;&lt;BR /&gt;To add to Clay's explanation, if you look at the manpages for 'dmesg(1M)' you can see how to setup a periodic extraction of the 'dmesg' buffer should it contain any critical information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 14 Sep 2007 10:32:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog/m-p/4070772#M307493</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-09-14T10:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog/m-p/4070773#M307494</link>
      <description>Normally, the syslogd daemon will automatically read the kernel messages (and forward them to the configured log destinations, if the message priority indicates it's required). So the important messages will automatically flow from the kernel message buffer (dmesg) to syslog.&lt;BR /&gt;&lt;BR /&gt;In a sick machine (one with a critical out-of-memory condition, failing memory or some other serious problem) the syslogd daemon may crash, but the kernel message buffer will function as long as the kernel is still alive... but if the machine is in such a bad state, running the "dmesg" command successfully to see the messages may not be easy.&lt;BR /&gt;&lt;BR /&gt;Note that the messages in the dmesg output don't generally have time stamps, so even the latest message at the end of the listing may be old.&lt;BR /&gt;&lt;BR /&gt;You cannot get your own messages into the "dmesg" listing unless you program your own HP-UX driver, but syslog can be used fairly easily from user programs ("man 3 syslog" for the programming interface) or even scripts (man logger).&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 14 Sep 2007 17:00:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog/m-p/4070773#M307494</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2007-09-14T17:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/syslog/m-p/4070774#M307495</link>
      <description>dmesg does have timestamps -- you have to run it with the 'newer' option which just a - as in:&lt;BR /&gt; &lt;BR /&gt;dmesg -&lt;BR /&gt; &lt;BR /&gt;The firat time you run it, you see the entire buffer. The next time, you see nothing -- unless something new has been sent to the message buffer. So to create a log with time stamps, put this in root's crontab:&lt;BR /&gt; &lt;BR /&gt;0,10,20,30,40,50 * * * * dmesg - &amp;gt;&amp;gt; /var/adm/dmesg.log&lt;BR /&gt; &lt;BR /&gt;Now you'll have a time-stamped log of dmesg entries.</description>
      <pubDate>Fri, 14 Sep 2007 18:46:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/syslog/m-p/4070774#M307495</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-09-14T18:46:13Z</dc:date>
    </item>
  </channel>
</rss>

