June 28, 2009

 

[solaris] LSOF substitute

lsof sometimes cannot work OK for TCP information after kernel updates on solaris (10, both sparc and x86). The reason is that kernel data scructures changes. So if you cannot recompile, i recommend in case of port-PID mapping to use such a simple script: http://www.unix.ms/pcp/. Tried it, works ok.
PS Mac users, try it plz?
PPS: Local copy: pcp.sh

Labels: , , ,

Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?