Monitoring System Log files

Using dmesg

One way of monitoring system logs is using dmesg. This command helps you monitor messages logged by the linux kernel and its modules. We see the last few lines in the example below:

root@hostname:directory# dmesg
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is on for TX and on for RX.
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (1024x768, 69896 bytes, v3).
bootsplash: status on console 0 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (1024x768, 50679 bytes, v3).
bootsplash: status on console 1 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (1024x768, 50679 bytes, v3).
bootsplash: status on console 2 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (1024x768, 50679 bytes, v3).
bootsplash: status on console 3 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (1024x768, 50679 bytes, v3).
bootsplash: status on console 4 changed to on
eth0: no IPv6 routers present
 
help/command-line/monitor-system-log-files.txt · Last modified: 2009/07/25 17:40 by gaurav     Back to top