Solaris Question - How to find outgoing traffic on UDP ports


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris Question - How to find outgoing traffic on UDP ports
# 1  
Old 12-06-2011
Solaris Question - How to find outgoing traffic on UDP ports

Hello All,

I am trying find a command that would show me the stats of outgoing traffic on UPD ports on a Solaris 10 box. I would appreciate if anybody could help me out on this.


Thank you much!!!

Best Regards
Sudharma.

Last edited by DukeNuke2; 12-06-2011 at 12:27 PM..
# 2  
Old 12-06-2011
netstat -a to see what UDP ports are open.

netstat -sd to get a summary of the traffic
# 3  
Old 12-06-2011
Thank you very much...

when i ran netstat -sd , got the following result..

--- Entry 2 ---
Group = 263, mib_id = 0, length = 40, valp = 0x8078688

UDP udpInDatagrams = 3290 udpInErrors = 0
udpOutDatagrams = 3307 udpOutErrors = 0

what is 3290 and 3307 here ??

Thank you again!!

Best Regards
Sudharma
# 4  
Old 12-06-2011
packet counts

By the way, you can use the -P udp modifier to only receive UDP information

Last edited by Skrynesaver; 12-06-2011 at 12:54 PM..
This User Gave Thanks to Skrynesaver For This Post:
# 5  
Old 12-06-2011
Thank you much !!!

---------- Post updated at 01:21 PM ---------- Previous update was at 10:39 AM ----------

Hi All,

Is it possible to know which UDP port is generating how much traffic ??


Thank you much!!

Best Regards
Sudharma.

Last edited by sudharma; 12-06-2011 at 03:35 PM..
# 6  
Old 12-06-2011
Try:
Code:
snoop -V udp | grep UDP

# 7  
Old 12-06-2011
Thank you much!! when i run this command i get the output as below what does this mean?? when i great ps -ef |grep 1985 i don't see any port number open.. what is 1985 here and i want to see number of outgoing packets on these UDP ports. . .any suggestions ...

172.xx.xx.252 -> 224.0.0.2 UDP D=1985 S=1985 LEN=28
172.xx.xx.253 -> 224.0.0.2 UDP D=1985 S=1985 LEN=28
172.xx.xx.252 -> 224.0.0.2 UDP D=1985 S=1985 LEN=28
172.xx.xx.253 -> 224.0.0.2 UDP D=1985 S=1985 LEN=28
172.xx.xx.252 -> 224.0.0.2 UDP D=1985 S=1985 LEN=28
172.xx.xx.253 -> 224.0.0.2 UDP D=1985 S=1985 LEN=28
172.xx.xx.252 -> 224.0.0.2 UDP D=1985 S=1985 LEN=28
172.xx.xx.253 -> 224.0.0.2 UDP D=1985 S=1985 LEN=28


Thank you again!!!
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Using netstats (differentiate incoming vs outgoing traffic)

Hi all, Sorry for the gullible question, are we able to different incoming / outgoing traffic using netstats ? It seems like the local traffic is always on the left, and the remote is beside it. but it doesn't state the traffic direction. or is it that if I have - a LISTEN entry (e.g.... (0 Replies)
Discussion started by: javanoob
0 Replies

2. Solaris

Blocking outgoing connection to ports/host in solaris

Hi, I want to block all outgoing connection ( the IMAP ) to my exchnage . I have to do it in my solaris server; from solaris host no outgoing connection can be made to the imap server. Please help me to configure that. I am new in solaris. Kind regards, Akhtar (2 Replies)
Discussion started by: akhtarbd
2 Replies

3. Linux

how I can find size of incoming or outgoing data

Hi, I'm using SLES10, I want to know the user size of the data that is downloaded or uploaded the data who connects to the server. In other words, a user utilization of my server in terms of size. Thanks, Kris (1 Reply)
Discussion started by: krisdasword
1 Replies

4. UNIX for Dummies Questions & Answers

Need help for configuring outgoing mail in Solaris 9

G'day, I've a solaris 9 box that I want to configure so that users can send out mails to internet. How can I do it? Can someone pls list me the steps or direct me to a detailed website. Thanks in advance. (1 Reply)
Discussion started by: Albert J.
1 Replies

5. IP Networking

TCP/UDP Ports

Just wondering if anyone knows of any good on-line documentation on TCP/UDP Ports. Basically i want to know how to check if they are in use, learn how to close them, etc... Thanks... (5 Replies)
Discussion started by: eugene_mayo
5 Replies

6. UNIX for Dummies Questions & Answers

TCP/UDP Ports

Just starting to work with unix, wondering if there is any good on-line documentation explaining TCP/UDP ports, how to use them, etc... Thanks.... (1 Reply)
Discussion started by: eugene_mayo
1 Replies

7. IP Networking

check inbound traffic on ports

Hello, I'm new to the forum and would like to know how to check inbound traffic on various port numbers. I would also like to know how to open and close various ports on a unix box running solaris 8. Thanks in advance. sunoracle (2 Replies)
Discussion started by: sunoracle
2 Replies

8. UNIX for Advanced & Expert Users

check inbound traffic on ports

Hello, I'm new to the forum and would like to know how to check inbound traffic on various port numbers. I would also like to know how to open and close various ports on a unix box running solaris 8. Thanks in advance. sunoracle (1 Reply)
Discussion started by: sunoracle
1 Replies
Login or Register to Ask a Question