- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Capture console screen for diagnostics.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 07:00 PM
07-09-2003 07:00 PM
Capture console screen for diagnostics.
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.
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.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 07:42 PM
07-09-2003 07:42 PM
Re: Capture console screen for diagnostics.
These failures btw are usually not a result of Linux. They are due to poor quality control in these keyboard/monitor sharing devices.
Here is a list of files that have the ability to manipulate console output.
./X11/xdm/GiveConsole
./X11/xdm/TakeConsole
./lpd.conf
./ppp/ip-down.ipv6to4
./ppp/ip-up.ipv6to4
./security/console.perms
./tripwire/twpol.txt
./syslog.conf
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.
I know its not complete, but I have a vague memory of doing this once on a Red Hat 4.x system.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 11:28 PM
07-09-2003 11:28 PM
Re: Capture console screen for diagnostics.
Edit /etc/syslog.conf modify the current line to this ( instead of /dev/console we use /var/log/kernel.log ) and save.
kern.* /var/log/kernel.log
#touch /var/log/kernel.log
#service syslog restart
Now all kernel messages is logged in to /var/log/kernel.log file.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 12:17 AM
07-10-2003 12:17 AM
Re: Capture console screen for diagnostics.
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.
$ cat /dev/vcs1
give a character stream of the content of the first console screen.
hth
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2003 11:03 AM
07-11-2003 11:03 AM