[SUMMARY] translating pfile output

From: Jeff Germain <j.germain_at_xpedite.com>
Date: Thu Oct 17 2002 - 10:53:16 EDT
Thanks to all for the quick replies...

The overwhelming response was to use lsof, available from sunfreeware.com
(pkg VAlsof).  Once installed, you can say:
# lsof -p <PID>
It shows full path names and translates socket addresses, etc. - exactly
what I was looking for.  I'll be adding it to our jumpstart and retrofit
existing systems if warranted.

Jeff


-----Original Message-----
From: Jeff Germain [mailto:j.germain@xpedite.com]
Sent: Wednesday, October 16, 2002 5:29 PM
To: SunManagers
Subject: translating pfile output


All,

Is there a quick way to tell which files a process has open?  I'm trying to
use pfiles, but by the time I translate the "dev:<Major,Minor>" in a mixed
DiskSuite/Veritas/physical-disk environment, figure out which filesystems
they map to, then run multiple "find </fs> -inum <INODE> -ls" on all of them
(which can be excrutiating on an fs with lots of files), I've usually
forgotten why I was looking in the first place.

Any help is appreciated...

Jeff
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Oct 17 10:54:37 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:56 EST