![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| snoop command on Sun box | jimmyc | IP Networking | 1 | 04-02-2008 06:05 PM |
| snoop command | kurtolo | SUN Solaris | 4 | 01-21-2008 08:55 AM |
| Snoop Functions | mf_lattanzi | SUN Solaris | 0 | 05-08-2006 10:17 AM |
| snoop equivalent for AIX | jcasares | UNIX for Advanced & Expert Users | 1 | 04-28-2005 11:45 AM |
| snoop equivalent | pbonilla | UNIX for Dummies Questions & Answers | 2 | 04-22-2003 10:17 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Snoop Script
Hi,
I want to write a script that checks an interface with the snoop command, if there is no traffic in 10 minutes on port 123 from the ip add 10.*.*.* it should send a e-mail.but i don't know how to start writing this script does anybody have an idea or an sample script that i can modifi. Thanks in advance. |
|
||||
|
thanks for you answer
i was thinking the same to store a output file from snoop and then to analyze it but i make this script if [ `snoop -c 50 -p 21 10.*.*.* 10.*.*.* | awk '/FTP/ {print $8}'` ] then echo "OK" else echo "Is not working (email will be send)" fi do you have a sample script ? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|