A few comments to what has already been posted:

pfiles
It is true that you can find the same information as what lsof is producing by 
using a script that uses the Solaris 'pfiles' command. One such example is 
"PCP" (http://www.unix.ms/pcp/). I have to warn against this. [i]pfiles will 
stop the process while it is being investigated. Many processes will not like 
this[/i]. I've screwed up quite a few daemons by executing a 'pfiles' against 
them while they were running. Bottom line:  pfiles is not a solution to the 
problem on a production system. Period !


lsof.
Yes, lsof exists for Solaris and you can get pre-compiled binary for example 
from www.sunfreeware.com. However 
(1) It does not work inside a zone  
(2) it is not stable because it is written against parts of Solaris that are 
undocumented/evolving/unsupported.
Personally I can live with (2), but not with (1) because these days just about 
everything on Solaris is running inside a zone (at least when you are talking 
servers in corporate landscape).

So unless any of the Dtrace probes will eventually come up with something that 
can generate this information then I do not see any way forward for Solaris on 
this one.

Solaris needs a solution for this.
-- 
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to