AW: TCP connections held in a close_wait stat on Solaris.

From: Pavic, Aleksander (Aleksander.Pavic@t-systems.com)
Date: Thu Jan 04 2007 - 10:01:02 EST


 Hello Alistar,

> -----Urspr|ngliche Nachricht-----
> Von: Alistair McKeown [mailto:Alistair.McKeown@jacobsrimell.com]
> Gesendet: Donnerstag, 4. Januar 2007 13:44
> An: sunmanagers@sunmanagers.org
> Betreff: TCP connections held in a close_wait stat on Solaris.
>
>
> Its not obvious what process its orginating from.
>
> Are there commands and ways , to find out more?
yes, you can use lsof or some selfmade oneliners like:
for i in `ps -e|awk '{print $1}'`; do pfiles $i | grep 'port: 7101' >
/dev/null; if [[ $? -eq 0 ]]; then echo "PID: $i has port 7101 open"; fi;
done

Don't care about the "cannot examine..." messages..
>
> Would truss tell you more for example?
no

hth,
Aleks
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:25 EDT