LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs > Nbiser
User Name
Password

Notices

Old

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:
Code:
grep eth0  /var/log/*
This will show you all log entries relating to eth0, which will look somewhat like this:
Code:
/var/log/warn:Apr 16 20:20:48  linux-vqbm dhcpcd[12907]:
...
Member
Posted in Uncategorized
Views 423 Comments 0 Nbiser is offline

  



All times are GMT -5. The time now is 01:26 AM.

Main Menu
Advertisement

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