Solved

logging console to file

Posted on 1997-02-04
1
279 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
1 Comment
 
LVL 2

Accepted Solution

by:
pxh earned 100 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

685 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