View the Most Wanted LQ Wiki articles.
Go Back > Blogs > Nbiser
User Name



An Introduction to Logs for Newbies Pt.. 2

Posted 05-10-2013 at 02:11 PM by Nbiser

In An Introduction to Logs for Newbies: Pt. 1, I took a look at basic log accessing and monitoring.In this one we will take a look at some more advanced logging, but don't worry, you don't need a chainsaw!

First, we will take a look at searching logs using grep. If you want to look for an entry for, say, eth0, you would type:
grep eth0  /var/log/*
This will show you all log entries relating to eth0, which will look somewhat like this:
/var/log/warn:Apr 16 20:20:48  linux-vqbm dhcpcd[12907]:
Posted in Uncategorized
Views 375 Comments 0 Nbiser is offline


All times are GMT -5. The time now is 07:08 AM.

Main Menu

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