<?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 and syslog in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341041#M190645</link>
    <description>Hi all, and thanks for the replies, learnt quite some.&lt;BR /&gt;&lt;BR /&gt;The issue however still bothers me. I have messages in dmesg complaining of invalid inode numbers, or unable to read inode and block no on some particular filesystems&lt;BR /&gt;&lt;BR /&gt;Previously such messages could have appeared when we made some changes, I suspect them to be old ... but not 100 % sure.&lt;BR /&gt;&lt;BR /&gt;Syslog doesn't show these messages.&lt;BR /&gt;&lt;BR /&gt;Is there a way to flush dmesg, to have only new messages come there from a particular point in time?&lt;BR /&gt;&lt;BR /&gt;thanks and Regards,&lt;BR /&gt;&lt;BR /&gt;-Alvi</description>
    <pubDate>Wed, 04 Aug 2004 01:06:34 GMT</pubDate>
    <dc:creator>Omar Alvi_1</dc:creator>
    <dc:date>2004-08-04T01:06:34Z</dc:date>
    <item>
      <title>dmesg and syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341037#M190641</link>
      <description>HI,&lt;BR /&gt;&lt;BR /&gt;I had a few queries regarding the relationship between syslog and dmesg.&lt;BR /&gt;&lt;BR /&gt;1- In dmesg, the most recent message appears first?&lt;BR /&gt;&lt;BR /&gt;Since dmesg does not show time, and will retain all critical messages coming to console since last reboot, it will invariably show issues in its output which have already been solved.&lt;BR /&gt;&lt;BR /&gt;2- If I find some message and dmesg, but not in my syslog, can I be 100 % sure that the dmesg issue no longer applies (has been solved)?&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;&lt;BR /&gt;-Alvi</description>
      <pubDate>Mon, 26 Jul 2004 08:39:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341037#M190641</guid>
      <dc:creator>Omar Alvi_1</dc:creator>
      <dc:date>2004-07-26T08:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: dmesg and syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341038#M190642</link>
      <description>1. dmesg shows what is there in /var/adm/msgbuf and hold the lastest information. And msgbuf file has size limitation. So it will be overwritten, if there too many new error messages.&lt;BR /&gt;&lt;BR /&gt;To dig out old errors, syslog.log is the file to look at.&lt;BR /&gt;&lt;BR /&gt;2. Mostly it won't happen that the information is in dmesg and not in syslog.log file. (If you have configured your syslog.conf properly.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Mon, 26 Jul 2004 08:45:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341038#M190642</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-07-26T08:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: dmesg and syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341039#M190643</link>
      <description>In large measure dmesg and syslog have little to do with each other. They are completely different things. The main purpose of dmesg is to serve as a message dump when nothing else is available -- for example, before the filesystem that holds syslog has even been mounted. Dmesg actually uses a fixed kernel memory area and as soon as it fills up, something must be discarded to make room for newer data. &lt;BR /&gt;&lt;BR /&gt;How messages are handled is up to the application. Some might use the syslog function but file the data in a completely different log (e.g. mail); some applications might post error messages in  both syslog and dmesg.</description>
      <pubDate>Mon, 26 Jul 2004 08:46:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341039#M190643</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-07-26T08:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: dmesg and syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341040#M190644</link>
      <description>If you want to have a history of the dmesg information and with this a timestamp you can put the following line in your crontab:&lt;BR /&gt;&lt;BR /&gt;0,10,20,30,40,50 * * * * /sbin/dmesg - &amp;gt;&amp;gt;/var/adm/dmesg.log&lt;BR /&gt;&lt;BR /&gt;This will add any new dmesg inforation to the dmesg.log file. You can change the time specifications to get a better timely resolution</description>
      <pubDate>Mon, 26 Jul 2004 08:51:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341040#M190644</guid>
      <dc:creator>Heiner E. Lennackers</dc:creator>
      <dc:date>2004-07-26T08:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: dmesg and syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341041#M190645</link>
      <description>Hi all, and thanks for the replies, learnt quite some.&lt;BR /&gt;&lt;BR /&gt;The issue however still bothers me. I have messages in dmesg complaining of invalid inode numbers, or unable to read inode and block no on some particular filesystems&lt;BR /&gt;&lt;BR /&gt;Previously such messages could have appeared when we made some changes, I suspect them to be old ... but not 100 % sure.&lt;BR /&gt;&lt;BR /&gt;Syslog doesn't show these messages.&lt;BR /&gt;&lt;BR /&gt;Is there a way to flush dmesg, to have only new messages come there from a particular point in time?&lt;BR /&gt;&lt;BR /&gt;thanks and Regards,&lt;BR /&gt;&lt;BR /&gt;-Alvi</description>
      <pubDate>Wed, 04 Aug 2004 01:06:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341041#M190645</guid>
      <dc:creator>Omar Alvi_1</dc:creator>
      <dc:date>2004-08-04T01:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: dmesg and syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341042#M190646</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I don't believe there is a way of actually flushing all messages form the dmesg buffer. These messages are held in memory so you would need to re-boot the system!&lt;BR /&gt;&lt;BR /&gt;Look closely at Heiner's suggestion about logging dmesg to a log file.&lt;BR /&gt;Run the following from the command line:&lt;BR /&gt;# /usr/sbin/dmesg -&lt;BR /&gt;&lt;BR /&gt;This shows any new messages in dmesg since it was last run.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Wed, 04 Aug 2004 01:25:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341042#M190646</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2004-08-04T01:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: dmesg and syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341043#M190647</link>
      <description>concerning your inode complains in log &lt;BR /&gt;you can measure utilisation of setting inode&lt;BR /&gt;by  #sar -v 1 10 this &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Aug 2004 02:47:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341043#M190647</guid>
      <dc:creator>Petr Simik_1</dc:creator>
      <dc:date>2004-08-04T02:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: dmesg and syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341044#M190648</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;If you do a head of /var/adm/syslog/syslog.log you should get the same as dmesg unless there were a lot of dmesg messages&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In my opinion in dmesg and not in syslog is a new message&lt;BR /&gt;&lt;BR /&gt;Or at least since last flush&lt;BR /&gt;&lt;BR /&gt;every day hour or what you like run&lt;BR /&gt;&lt;BR /&gt;dmesg -&lt;BR /&gt;&lt;BR /&gt;Then you see messages since previous run and know if they are new&lt;BR /&gt;&lt;BR /&gt;do&lt;BR /&gt;&lt;BR /&gt;dmesg -|while read line&lt;BR /&gt;do&lt;BR /&gt;logger $line&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;And the messages are copied to the syslog as&lt;BR /&gt;format&lt;BR /&gt;Date machine user: message&lt;BR /&gt;&lt;BR /&gt;example&lt;BR /&gt;Aug  4 15:58:48 topaz root: Aug  4 15:58&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;              Steve Steel</description>
      <pubDate>Wed, 04 Aug 2004 09:02:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dmesg-and-syslog/m-p/3341044#M190648</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-08-04T09:02:22Z</dc:date>
    </item>
  </channel>
</rss>

