Tuesday, October 22, 2013

View AIX Boot and Console Logs


Boot and console messages can be used to identify and fix problems. These messages are automatically stored on disk by AIX. To view the stored messages, use the alog command. 

For example,

To List the defined log types in AIX

alog -L                
 
 # alog -L
 boot
 bosinst
 nim
 console
 cfg
 dumpsymp
 
To View the boot log in AIX
  alog -o -t boot   

To View the console log in AIX  
  alog -o -t console     

To find out the properties of boot log file in AIX

 # alog -L -t boot
 file:size:verbosity
 /var/adm/ras/bootlog:131072:1

No comments: