?
Solved

logging console to file

Posted on 1997-02-04
1
Medium Priority
?
286 Views
Last Modified: 2013-12-16
How can I log the console of a Solaris 2.5.1 server to a file? I know about contool, but I'm looking for an easier way...
0
Comment
Question by:jonie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
pxh earned 200 total points
ID: 1811783
Look into /var/adm/messages you will find system messages logged there (after reboot a new file is started old will be save in messages.x).
Be aware what system messages really mean, e.g. if you start a license manager during startup, which writes to the stdout those message will appear on the console (which happened to be the stdout during startup), however these are not true system messages and aren't logged.

You may also configure the logging, look into the syslogd man page for details.


Hope thise helps.


Peter

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question