<?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: Logging /dev/console  activities into a file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-dev-console-activities-into-a-file/m-p/2646790#M45065</link>
    <description>From HP Knowledge Mine..&lt;BR /&gt;&lt;BR /&gt;There is no standard tool on HP-UX to log all messages sent to the /dev/console device file to a file. You can write a C program using the ioctl() system call with the TIOCCONS argument as described by the ioctl(2) and termio(7) man pages. Some of the console messages can be accessed using the following methods: &lt;BR /&gt;&lt;BR /&gt;Edit /etc/syslog.conf and add a line to direct all alert level messages going to /dev/console to a log file. Example:&lt;BR /&gt;*.alert    /var/adm/console_messages&lt;BR /&gt;&lt;BR /&gt;Restart syslogd with the command &lt;BR /&gt;$ kill -HUP `cat /var/run/syslog.pid`&lt;BR /&gt;&lt;BR /&gt;Use the dmesg and cron commands to log system diagnostic messages to a file. See dmesg(1M).&lt;BR /&gt;&lt;BR /&gt;On systems like the N-class you can access the console history through the GSP (Guardian Service Processor) CL command (Console Log). &lt;BR /&gt;</description>
    <pubDate>Wed, 16 Jan 2002 21:54:45 GMT</pubDate>
    <dc:creator>S.K. Chan</dc:creator>
    <dc:date>2002-01-16T21:54:45Z</dc:date>
    <item>
      <title>Logging /dev/console  activities into a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-dev-console-activities-into-a-file/m-p/2646789#M45064</link>
      <description>How can I log stdin ,stdout &amp;amp; stderr on the console into a file.&lt;BR /&gt;Pls note that I want to keep a log of everything and anything comming on the console.</description>
      <pubDate>Wed, 16 Jan 2002 21:48:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logging-dev-console-activities-into-a-file/m-p/2646789#M45064</guid>
      <dc:creator>Jacob_2</dc:creator>
      <dc:date>2002-01-16T21:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Logging /dev/console  activities into a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-dev-console-activities-into-a-file/m-p/2646790#M45065</link>
      <description>From HP Knowledge Mine..&lt;BR /&gt;&lt;BR /&gt;There is no standard tool on HP-UX to log all messages sent to the /dev/console device file to a file. You can write a C program using the ioctl() system call with the TIOCCONS argument as described by the ioctl(2) and termio(7) man pages. Some of the console messages can be accessed using the following methods: &lt;BR /&gt;&lt;BR /&gt;Edit /etc/syslog.conf and add a line to direct all alert level messages going to /dev/console to a log file. Example:&lt;BR /&gt;*.alert    /var/adm/console_messages&lt;BR /&gt;&lt;BR /&gt;Restart syslogd with the command &lt;BR /&gt;$ kill -HUP `cat /var/run/syslog.pid`&lt;BR /&gt;&lt;BR /&gt;Use the dmesg and cron commands to log system diagnostic messages to a file. See dmesg(1M).&lt;BR /&gt;&lt;BR /&gt;On systems like the N-class you can access the console history through the GSP (Guardian Service Processor) CL command (Console Log). &lt;BR /&gt;</description>
      <pubDate>Wed, 16 Jan 2002 21:54:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logging-dev-console-activities-into-a-file/m-p/2646790#M45065</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-01-16T21:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Logging /dev/console  activities into a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-dev-console-activities-into-a-file/m-p/2646791#M45066</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Have a look at configuring your /etc/syslog.conf&lt;BR /&gt;file to pick these messages up. All messages are generally logged to to your system log file in /var/adm/syslog/syslog.log &lt;BR /&gt;&lt;BR /&gt;For the console messages have a different line&lt;BR /&gt;&lt;BR /&gt;*.alert    /var/adm/console_messages&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael</description>
      <pubDate>Wed, 16 Jan 2002 21:56:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logging-dev-console-activities-into-a-file/m-p/2646791#M45066</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-01-16T21:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Logging /dev/console  activities into a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-dev-console-activities-into-a-file/m-p/2646792#M45067</link>
      <description>It is not just the syslogd or any particular command sending the o/p to the console.&lt;BR /&gt;It is any o/p to the device /dev/console.Like having a parallel console (just a plain flat file).&lt;BR /&gt;&lt;BR /&gt;thanks for the replies.</description>
      <pubDate>Wed, 16 Jan 2002 22:27:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logging-dev-console-activities-into-a-file/m-p/2646792#M45067</guid>
      <dc:creator>Jacob_2</dc:creator>
      <dc:date>2002-01-16T22:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Logging /dev/console  activities into a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-dev-console-activities-into-a-file/m-p/2646793#M45068</link>
      <description>Do you use a GUI environment like CDE or VUE?&lt;BR /&gt;&lt;BR /&gt;If so, you can use "hpterm -C" to open a console window and use the logging facility of hpterm(1) to log all output to a file ("-l" option).</description>
      <pubDate>Thu, 17 Jan 2002 13:56:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logging-dev-console-activities-into-a-file/m-p/2646793#M45068</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2002-01-17T13:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Logging /dev/console  activities into a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/logging-dev-console-activities-into-a-file/m-p/2646794#M45069</link>
      <description>&lt;BR /&gt;The console is 50miles away from my work place and I need to know/see the console/screen (it can be just a 700/9x or a Test station ).&lt;BR /&gt;&lt;BR /&gt;The only connectivity I have is the network.&lt;BR /&gt;&lt;BR /&gt;thanks for the replies</description>
      <pubDate>Thu, 17 Jan 2002 15:04:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/logging-dev-console-activities-into-a-file/m-p/2646794#M45069</guid>
      <dc:creator>Jacob_2</dc:creator>
      <dc:date>2002-01-17T15:04:25Z</dc:date>
    </item>
  </channel>
</rss>

