LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-02-2009, 02:27 AM   #1
akhtar.bhat
Member
 
Registered: Jan 2008
Posts: 34

Rep: Reputation: 15
Arrow Script to monitor Different IP's in the live logs


Dear All,



I am new to Shell Programming, but I need a program which will monitor the different IP's in the live logs.

Condition:-
The script will monitor the logs continously and should print only those IP's which exists more than 3 times per day.



Please do help me.



Thanks and regards,

Akhtar Bhat
 
Old 02-02-2009, 07:53 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,419

Rep: Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785
You can do it Perl using the File::Tail module: http://search.cpan.org/~mgrabnar/Fil...0.99.3/Tail.pm
 
  


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
iptables bash script to add offending ip's to temporary chain NinjaGuru Programming 1 01-08-2008 11:05 AM
Iptables (with masq) troubleshooting, very simple script attached script and logs. xinu Linux - Networking 13 11-01-2007 05:19 AM
Bandwidth Monitor (That keeps logs) JDawg06 Linux - Desktop 17 09-07-2006 10:12 PM
IPTables - Multiple Public IP's to private IP's matneyc Linux - Security 8 05-27-2005 01:23 PM
A live log monitor script ? ifm Linux - Software 1 07-19-2002 03:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:39 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
Open Source Consulting | Domain Registration