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
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
Not exactly what you're after, but you can check stats like so...
date +'%d-%h-%Y %X %Z' >> /some_stats/net/netstats
ndstat | grep -e dev -e Octets -e In: -e Out: >> /some_stats/net/netstats
Will provide stats like the following: (two network cards attached to a SCO box - in this case)
20-Feb-2002 17:07:06 AEST
/dev/net1 00:a0:c9:e1:64:14 00:a0:c9:e1:64:14
Unicast Multicast Broadcast Error Octets Queue Length
In: 48749022 0 148769 0 2663935393 1
Out: 129658 0 2696 827 19689166 0
/dev/net2 00:04:ac:4c:cc:4c 00:04:ac:4c:cc:4c
Unicast Multicast Broadcast Error Octets Queue Length
In: 37314805 0 148205 0 4099292043 0
Out: 167753368 0 12662 0 908155738 0
Hope that helps some