LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 11-03-2007, 02:31 AM   #1
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 447

Rep: Reputation: 30
command to see system Log


Friends,

I want to see the system related logs and the logs when the AIX server
starts . PLz tell what is the log command in AIX server

wait for kind reply .. ...
 
Old 11-03-2007, 04:50 AM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,013

Rep: Reputation: 83
The system log file is syslog.log

Perform the following search to find the file:
Code:
#find / -name syslog.log
/var/adm/ras/syslog.log

#view /var/adm/ras/syslog.log
When finished looking through the log quit by typing :q!
 
Old 11-05-2007, 12:07 PM   #3
opeyrega
LQ Newbie
 
Registered: Feb 2006
Location: Machecoul Fr
Distribution: fedora
Posts: 17

Rep: Reputation: 0
for file in this format alog files you must use alog command

To view log
alog -f /var/adm/ras/conslog -o # start log
alog -f /var/adm/ras/bootlog -o # control panel

To find system log, you can use this command
lssrc -ls syslogd
Quote:
# lssrc -ls syslogd
Subsystem Group PID Status
syslogd ras 422110 active
Syslogd Config *.emerg /PATH/emerg.log
Syslogd Config *.alert /PATH/alert.log
Syslogd Config *.crit /PATH/crit.log
Syslogd Config *.warning /PATH/warning.lo
Syslogd Config *.err /PATH/err.log
Syslogd Config kern.info /PATH/kern.log
Syslogd Config daemon.info /PATH/daemon_info.log
Syslogd Config daemon.notice /PATH/daemon_notice.log
Syslogd Config auth.info /PATH/auth.log

Last edited by opeyrega; 11-05-2007 at 12:13 PM.
 
Old 01-30-2008, 11:48 AM   #4
Michael AM
Member
 
Registered: May 2006
Distribution: AIX 5.3, AIX 6.1, AIX 7.1
Posts: 95

Rep: Reputation: 23
Rather than supplying filenames, you can also supply the 'type'.

alog -o -t console ## see console output
alog -o -t boot ## see boot information

etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find out if my system is i386, i486, or i586? Is there a system info command? mlsbraves Linux - General 6 02-17-2009 05:08 PM
error: mail command failed for /var/log/squidguard/squidGuard.log.6 Niceman2005 Linux - Networking 1 01-22-2009 02:24 PM
system log(last log) john.s Linux - General 4 06-18-2006 05:20 PM
what's log-out command...... thinhla Mandriva 1 07-13-2005 04:53 PM
what is the command to log out? bosewicht Linux - Newbie 5 03-20-2004 06:50 AM


All times are GMT -5. The time now is 09:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration