LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] lsof for solaris / sunOS?

[ILUG] lsof for solaris / sunOS?

Dave Neary dave.neary at palamon.ie
Thu May 3 11:33:50 IST 2001


Conor Daly wrote:
> 
> Running two boxes, one SunOS 5.5 the other SunOS 5.7  Is there an equivalent
> of lsof for these boxes?  I'm trying to do a C-shell script to do a waitfor
> on a file and I can do it for a file that shows on a command-line using ps
> but I really need lsof instead.

How about using lsof? It's available for Solaris
http://www.sunfreeware.com/ I think, and if not the source
(ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/) should build on Solaris.

If solaris's man supports -k you could try man -k open | grep files -
also it'll be in section 8 of the man pages, if that's a help. And it'll
likely be one of the executables in /usr/sbin :)

> TIA
> Conor

Cheers,
Dave.

-- 
David Neary,               E-Mail dave.neary at palamon.ie
Palamon Technologies Ltd.  Phone +353-1-634-5059




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell