<?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: Console messages in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545530#M27334</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;/etc/syslog.conf contains lines similar to the following:&lt;BR /&gt;&lt;BR /&gt;*.alert     /dev/console&lt;BR /&gt;kern.debug  /dev/console&lt;BR /&gt;&lt;BR /&gt;What you can do is add a line for the same log level and let syslog redirect the messages to an alternate log file. Like this:&lt;BR /&gt;&lt;BR /&gt;*.alert     /dev/console&lt;BR /&gt;*.alert     /var/adm/syslog/console.log&lt;BR /&gt;kern.debug  /dev/console&lt;BR /&gt;kern.debug  /var/adm/syslog/console.log&lt;BR /&gt;&lt;BR /&gt;Then, make syslogd reread its configuration file: kill -HUP &lt;SYSLOGD-PID&gt;&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Vincent&lt;/SYSLOGD-PID&gt;</description>
    <pubDate>Wed, 27 Jun 2001 07:46:06 GMT</pubDate>
    <dc:creator>Vincent Stedema</dc:creator>
    <dc:date>2001-06-27T07:46:06Z</dc:date>
    <item>
      <title>Console messages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545524#M27328</link>
      <description>hi,&lt;BR /&gt;we have a HP 9000 K220 machine located at one of our remote office. we want to monitor the console messages of the same. can anybody tell me is there any way to redirect the console messages to a file ? &lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;jayamohan</description>
      <pubDate>Wed, 27 Jun 2001 06:32:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545524#M27328</guid>
      <dc:creator>JAYAMOHAN.V.D</dc:creator>
      <dc:date>2001-06-27T06:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Console messages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545525#M27329</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;The command /etc/dmesg may be used to view the current message buffer&lt;BR /&gt;where console messages are kept.  This buffer is circular such that&lt;BR /&gt;older messages will scroll off the top.  To monitor (and log) data&lt;BR /&gt;that has been added to the message buffer while running, /etc/dmesg&lt;BR /&gt;has an option to 'remember' what additions have been made recently.&lt;BR /&gt;&lt;BR /&gt;The command /etc/dmesg - (just the minus character) will report all&lt;BR /&gt;the differences between the first /etc/dmesg - command and subsequent&lt;BR /&gt;runs of the same command.  This may be appended to a file for logging&lt;BR /&gt;and an example of this is provided in /etc/newconfig/crontab.root.&lt;BR /&gt;&lt;BR /&gt;Here is an example to log messages using cron:&lt;BR /&gt;&lt;BR /&gt;     # log kernel diagnostic messages every 10 minutes&lt;BR /&gt;     05,15,25,35,45,55 * * * * /etc/dmesg - &amp;gt;&amp;gt;/usr/adm/messages&lt;BR /&gt;&lt;BR /&gt;root (superuser) may be added to cron with the command:&lt;BR /&gt;&lt;BR /&gt;     crontab /etc/newconfig/crontab.root&lt;BR /&gt;&lt;BR /&gt;To view the latest logged information, the /bin/tail command may be&lt;BR /&gt;used as in:&lt;BR /&gt;&lt;BR /&gt;     /bin/tail /usr/adm/messages&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Jun 2001 06:43:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545525#M27329</guid>
      <dc:creator>eran maor</dc:creator>
      <dc:date>2001-06-27T06:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Console messages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545526#M27330</link>
      <description>Hi,&lt;BR /&gt;i don't think so that we can store console messages in a file and retrieve the file often.&lt;BR /&gt;&lt;BR /&gt;you can use web console thru which you can access the console of the system.</description>
      <pubDate>Wed, 27 Jun 2001 06:43:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545526#M27330</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-06-27T06:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Console messages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545527#M27331</link>
      <description>hpterm -C may also be of use .... though it won't output to a file but it will run remotely.&lt;BR /&gt;&lt;BR /&gt;see man hpterm -C option  + the Xconsoles section.&lt;BR /&gt;&lt;BR /&gt;However you'd need an X enviroment for it to run on.</description>
      <pubDate>Wed, 27 Jun 2001 07:04:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545527#M27331</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2001-06-27T07:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Console messages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545528#M27332</link>
      <description>Which particular messages are you interested in?&lt;BR /&gt;&lt;BR /&gt;Most interesting messages are written to the syslog (/var/adm/syslog/syslog.log).&lt;BR /&gt;&lt;BR /&gt;At 11.00, 'dmesg' messages are written to the syslog also and are not subject to data loss due to buffer overflow when long messages are written.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Wed, 27 Jun 2001 07:06:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545528#M27332</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2001-06-27T07:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Console messages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545529#M27333</link>
      <description>Try a tail -f /var/adm/syslog/syslog.log&lt;BR /&gt;to have a live updating syslog.&lt;BR /&gt;&lt;BR /&gt;Bill</description>
      <pubDate>Wed, 27 Jun 2001 07:35:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545529#M27333</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-06-27T07:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Console messages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545530#M27334</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;/etc/syslog.conf contains lines similar to the following:&lt;BR /&gt;&lt;BR /&gt;*.alert     /dev/console&lt;BR /&gt;kern.debug  /dev/console&lt;BR /&gt;&lt;BR /&gt;What you can do is add a line for the same log level and let syslog redirect the messages to an alternate log file. Like this:&lt;BR /&gt;&lt;BR /&gt;*.alert     /dev/console&lt;BR /&gt;*.alert     /var/adm/syslog/console.log&lt;BR /&gt;kern.debug  /dev/console&lt;BR /&gt;kern.debug  /var/adm/syslog/console.log&lt;BR /&gt;&lt;BR /&gt;Then, make syslogd reread its configuration file: kill -HUP &lt;SYSLOGD-PID&gt;&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Vincent&lt;/SYSLOGD-PID&gt;</description>
      <pubDate>Wed, 27 Jun 2001 07:46:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545530#M27334</guid>
      <dc:creator>Vincent Stedema</dc:creator>
      <dc:date>2001-06-27T07:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Console messages</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545531#M27335</link>
      <description>&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x78f76c96588ad4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x78f76c96588ad4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Wed, 27 Jun 2001 07:51:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/console-messages/m-p/2545531#M27335</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-06-27T07:51:07Z</dc:date>
    </item>
  </channel>
</rss>

