On Thursday, November 17, 2005 8:20 AM, suppressed wrote: Thanks for script update Ron!
echo "Number of connections grouped by IP address"
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
Please post if you add more commands that you find useful so that our
emails contain the same information.
Instead of the above, I am putting: echo "Number of TCP and UDP connections for each IP, grouped by state"netstat -ntu | sed '1,2d' | awk '{print $5,$6}' | sed -e 's/:[0-9]*//g' | sort | uniq -c | sort -n
echo "Number of active Unix domain sockets grouped by state and path"netstat -x | sed '1,2d' | awk '{print $5,$8}' | sed -e 's/:[0-9]*//g' | sort | uniq -c | sort -n
I am not sure how much use this information will be to me, but maybe it will help Kevin interpret what's going on?
Thanks___________________________________________________________ WIN ONE OF THREE YAHOO! VESPAS - Enter now! - http://uk.cars.yahoo.com/features/competitions/vespa.html
_______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.