Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How do I view system log files in Linux?

Posted on 2006-05-17
1
Medium Priority
?
4,094 Views
Last Modified: 2013-12-16
How do I view system log files in Linux?
I am new to the Linux world.  In the AIX world I can see the errors
with 'errpt'.  I can get an expanded version with 'errpt -a'.
I have been searching for an equivalent command in Linux but have
not found it.  Also in AIX I have cron jobs that sends an operator
message with the 'errlogger' command if my process fails for any reason.
What does Linux have that will do the same?
0
Comment
Question by:slcoit
1 Comment
 
LVL 6

Accepted Solution

by:
makhan earned 500 total points
ID: 16705975
Hi,

All the log files are in /var/log  directory

you can use any editor of your chocie for viewing these files.

as for the cron jobs run.. they send a mail by default to the root user. Check your root mail boxe for this.

You can also see /var/log/messages for system wide error messages.

also if you want to see the bootup messages you can use the

dmesg

command.

HTH

regards.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month21 days, 3 hours left to enroll

810 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