01-26-2013
Live snoop analysis
Dears,
I am trying to run a bash script to take a snoop on an interface with a certain port for like 5 minute and once the snoop is finished I need to parse the snoop file on unix/solaris without using WIRESHARK or ETHERAL.
the snoop that I will capture will be for DIAMETER Protocol and what I will be looking for is the total number of CCR Send and total number of CCA recieved and other related information.
I can generate the script to a level of executing the script on partiular interface and close it but how to parse it with DIAMETER protocol on solaris this is what I am more intersted in.
---------- Post updated at 06:53 AM ---------- Previous update was at 06:26 AM ----------
Moderator's Comments:
|
|
Forum Rules: No Bumping Up Posts.... Please Read and Follow Forum Rules
|
|
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
is there a snoop equivalent in other flavors of unix? HPUX, SCO or linux.
TIA
Peter (2 Replies)
Discussion started by: pbonilla
2 Replies
2. UNIX for Advanced & Expert Users
is there a snoop equivalent in other flavors of unix? for AIX IBM (1 Reply)
Discussion started by: jcasares
1 Replies
3. Solaris
Hello! It is my first post in this forum :).
I`m facing a strange issue. I am using a Solaris 8 as OS, and using the ipnat (ipf) to NAT an incoming port to another, as following:
Host SUN with Solaris 8/NAT WEB Page
(A.B.C.D:80) ---> |A.B.C.D:80 ->... (0 Replies)
Discussion started by: mf_lattanzi
0 Replies
4. Solaris
Hi.
I'm trying to capture traffic with the snoop command using the net expression but I fail when a I've to specify a subnet
ex: 10.201.64/18
Did you know the correct syntax?
I've tried with
snoop -ta -x0 net 10.201.64.0 255.255.192.0
but doesn't match.
Thnx (4 Replies)
Discussion started by: kurtolo
4 Replies
5. Shell Programming and Scripting
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.
... (2 Replies)
Discussion started by: tafil
2 Replies
6. UNIX for Advanced & Expert Users
I was trying to install the solaris snoop package on a flavor of linux. I got the tar file, unzipped it. when I CD to the unzipped snoop directory, I ran the command ./configure ; make and I got the following error. Did anybody run into this before? what can I do to install snoop?
checking... (1 Reply)
Discussion started by: Pouchie1
1 Replies
7. UNIX for Advanced & Expert Users
Hi,
Can anyone please tell me a ftp site where I can download the solaris snoop package? I need to download the package so I can use the command in a Linux environment instead of using tcpdump. Need practice with snoop.
Thanks for your help. (3 Replies)
Discussion started by: Pouchie1
3 Replies
8. Solaris
Hi ,
I would like to write a perl script with the snoop command to capture packets from a specific IP address to a node (incoming packets) and packets from that node for the same session to another node and save the capture to a file. I would like my script to be able to read my IP all the time... (7 Replies)
Discussion started by: Pouchie1
7 Replies
9. Shell Programming and Scripting
Hi all,
Is it possible to create an script that parse an snoop output similar to the example above ? Each line is ended by "$" (set list in vi). as a result, I would like to print the output in only one line.
can someone give me some tip ?
Thanks a lot .:)
l version="1.0" ... (5 Replies)
Discussion started by: robdcb
5 Replies
10. What is on Your Mind?
Update: UserCP Screeching Frog 0.7641 - Changed Live Chat to Live Updates
In this version of the UserCP, I have changed "Live Chat" to "Live Updates" by disabling the ability to post in the "live chat" area and changed the name to "Live Updates"
The reason for this change is that experienced... (6 Replies)
Discussion started by: Neo
6 Replies
LEARN ABOUT MOJAVE
iopending
iopending(1m) USER COMMANDS iopending(1m)
NAME
iopending - plot number of pending disk events. Uses DTrace.
SYNOPSIS
iopending [-c] [-d device] [-f filename] [-m mount_point] [interval [count]]
DESCRIPTION
This samples the number of disk events that are pending and plots a distribution graph. By doing this the "serialness" or "parallelness" of
disk behaviour can be distinguished. A high occurance of a pending value of more than 1 is an indication of saturation.
Since this uses DTrace, only users with root privileges can run this command.
OPTIONS
-c clear screen
-d device
instance name to snoop (eg, dad0)
-f filename
full pathname of file to snoop
-m mount_point
mountpoint for filesystem to snoop
EXAMPLES
Default output, print I/O summary every 1 second,
# iopending
Print 10 second samples,
# iopending 10
Print 12 x 5 second samples,
# iopending 5 12
Snoop events on the root filesystem only,
# iopending -m /
FIELDS
value number of pending events, 0 == idle
count number of samples @ 1000 Hz
load 1 min load average
disk_r total disk read Kb for sample
disk_w total disk write Kb for sample
IDEA
Dr Rex di Bona
DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with ver-
bose descriptions explaining the output.
EXIT
iopending will run forever until Ctrl-C is hit, or the specified count is reached.
AUTHOR
Brendan Gregg [Sydney, Australia]
SEE ALSO
iosnoop(1M), iotop(1M), dtrace(1M)
version 0.60 Nov 01, 2005 iopending(1m)