<?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: Capture console screen for diagnostics. in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/capture-console-screen-for-diagnostics/m-p/3019801#M5599</link>
    <description>Assuming you are booting into the GUI, I think its the same as windows, alt-Print Screen.&lt;BR /&gt;&lt;BR /&gt;These failures btw are usually not a result of Linux.  They are due to poor quality control in these keyboard/monitor sharing devices.&lt;BR /&gt;&lt;BR /&gt;Here is a list of files that have the ability to manipulate console output.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;./X11/xdm/GiveConsole&lt;BR /&gt;./X11/xdm/TakeConsole&lt;BR /&gt;./lpd.conf&lt;BR /&gt;./ppp/ip-down.ipv6to4&lt;BR /&gt;./ppp/ip-up.ipv6to4&lt;BR /&gt;./security/console.perms&lt;BR /&gt;./tripwire/twpol.txt&lt;BR /&gt;./syslog.conf&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In one of these files, perhaps syslog.conf you should be able to redirect console output just like you would on your HP-UX box.&lt;BR /&gt;&lt;BR /&gt;I know its not complete, but I have a vague memory of doing this once on a Red Hat 4.x system.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Thu, 10 Jul 2003 02:42:12 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-07-10T02:42:12Z</dc:date>
    <item>
      <title>Capture console screen for diagnostics.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/capture-console-screen-for-diagnostics/m-p/3019800#M5598</link>
      <description>I have about 45 PC based Linux (Red Hat 2.4.7-10) systems that do not have out of band management. We have a series of switches that allow me to share one keyboard, mouse and monitor with each group of 8 systems. The problem that I am having is that occassionally they "freeze" up and have to have their power cycled to unstick them. No CTL-ALT-DEL does nothing and sometimes I can't even hit a space bar or rattle the mouse to read what the screen has to say, it just remains blank. The application folks have asked me to write down everything on the screen before I recycle the power and sometimes that is just not possible because of the screen saver etc.&lt;BR /&gt;&lt;BR /&gt;What I am looking for is a way to capture whatever goes to the console (Monitor) to a file, it has to survive a reboot, for analysis after it freezes and I have to cycle power. I am an HPUX admin and not really all that familiar with the inner workings of Linux, but I have been tasked with keeping these things running. So please be explicit.&lt;BR /&gt;&lt;BR /&gt;I also can't really hook up 45 serial cables to interconnect them all, as sometimes they fail in pairs. I could, however, hook serial cables up to our global system that allows out of band management via serial cables like on the HPUX, AIX etc systems. That would require my submitting a cost justification, which I would prefer not to do if I can get the thing to log to a file.&lt;BR /&gt;Thank you.</description>
      <pubDate>Thu, 10 Jul 2003 02:00:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/capture-console-screen-for-diagnostics/m-p/3019800#M5598</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-07-10T02:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Capture console screen for diagnostics.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/capture-console-screen-for-diagnostics/m-p/3019801#M5599</link>
      <description>Assuming you are booting into the GUI, I think its the same as windows, alt-Print Screen.&lt;BR /&gt;&lt;BR /&gt;These failures btw are usually not a result of Linux.  They are due to poor quality control in these keyboard/monitor sharing devices.&lt;BR /&gt;&lt;BR /&gt;Here is a list of files that have the ability to manipulate console output.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;./X11/xdm/GiveConsole&lt;BR /&gt;./X11/xdm/TakeConsole&lt;BR /&gt;./lpd.conf&lt;BR /&gt;./ppp/ip-down.ipv6to4&lt;BR /&gt;./ppp/ip-up.ipv6to4&lt;BR /&gt;./security/console.perms&lt;BR /&gt;./tripwire/twpol.txt&lt;BR /&gt;./syslog.conf&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In one of these files, perhaps syslog.conf you should be able to redirect console output just like you would on your HP-UX box.&lt;BR /&gt;&lt;BR /&gt;I know its not complete, but I have a vague memory of doing this once on a Red Hat 4.x system.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 10 Jul 2003 02:42:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/capture-console-screen-for-diagnostics/m-p/3019801#M5599</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-10T02:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Capture console screen for diagnostics.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/capture-console-screen-for-diagnostics/m-p/3019802#M5600</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Edit /etc/syslog.conf modify the current line to this ( instead of /dev/console we use /var/log/kernel.log ) and save.&lt;BR /&gt;&lt;BR /&gt;kern.*              /var/log/kernel.log&lt;BR /&gt;&lt;BR /&gt;#touch /var/log/kernel.log&lt;BR /&gt;&lt;BR /&gt;#service syslog restart&lt;BR /&gt;&lt;BR /&gt;Now all kernel messages is logged in to /var/log/kernel.log file.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jul 2003 06:28:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/capture-console-screen-for-diagnostics/m-p/3019802#M5600</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-07-10T06:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Capture console screen for diagnostics.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/capture-console-screen-for-diagnostics/m-p/3019803#M5601</link>
      <description>I don't know if this is exactly what you need. &lt;BR /&gt;A way to have a screenshot of the console screens accessed by CTRL-ALT-Fn keys is reading the /dev/vcs1 /dev/vcs2 /dev/vcsX devices.&lt;BR /&gt;&lt;BR /&gt;$ cat /dev/vcs1&lt;BR /&gt;&lt;BR /&gt;give a character stream of the content of the first console screen.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;Claudio</description>
      <pubDate>Thu, 10 Jul 2003 07:17:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/capture-console-screen-for-diagnostics/m-p/3019803#M5601</guid>
      <dc:creator>Claudio Cilloni</dc:creator>
      <dc:date>2003-07-10T07:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Capture console screen for diagnostics.</title>
      <link>https://community.hpe.com/t5/operating-system-linux/capture-console-screen-for-diagnostics/m-p/3019804#M5602</link>
      <description>I really didn't find what I was looking for, and maybe it is because I am used to real computer and not PC's. When these things freeze there are sometimes pertinent information in the /var/log/messages but I was kinda hoping for some magical way to redirect the console (PC monitor) to a file even if the errors are generated by the BIOS. It seems that all I can do is log kernel errors, and I am already doing that, and that makes sense because the kernel it running and logging but before it boots or just after it fails the BIOS is outputting data to the console. I was looking for something that would grab all of that info too. Thanks for the help and I did modify /etc/syslog.conf to suite my needs but nothing earth shattering.</description>
      <pubDate>Fri, 11 Jul 2003 18:03:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/capture-console-screen-for-diagnostics/m-p/3019804#M5602</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-07-11T18:03:45Z</dc:date>
    </item>
  </channel>
</rss>

