From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,6901079ed22b5ffe,start X-Google-Attributes: gid10d4db,public X-Google-Thread: fb4a0,6901079ed22b5ffe,start X-Google-Attributes: gidfb4a0,public X-Google-ArrivalTime: 1994-11-05 06:19:12 PST Newsgroups: comp.os.linux.announce,comp.unix.unixware Path: nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!hudson.lm.com!nntp.club.cc.cmu.edu!cantaloupe.srv.cs.cmu.edu!rochester!cornell!bounce-bounce From: abe@vic.cc.purdue.edu (Vic Abell) Subject: Linux and UnixWare lsof Message-ID: Followup-To: poster Keywords: list open files, lsof, utility Sender: mdw@cs.cornell.edu (Matt Welsh) Reply-To: abe@vic.cc.purdue.edu (Vic Abell) Organization: None Date: Fri, 4 Nov 1994 22:38:06 GMT Xref: nntp.gmd.de comp.os.linux.announce:3085 comp.unix.unixware:15207 Lsof (for LiSt Open Files) is now available for two versions of Linux, 1.0.9 and 1.1.47, and for UnixWare 1.1.2. Lsof lists files opened by processes on UNIX systems. It has also been tested on these Unix dialects: AIX, BSDI, DYNIX, EP/IX, FreeBSD, HP-UX, IRIX, NetBSD, NeXTSTEP, OSF/1, Solaris, SunOS, Ultrix, and V/88. Using available kernel data access methods -- getproc(), getuser(), kvm_*(), nlist(), pstat(), read(), readx(), /proc -- lsof reads process table entries, user areas and file pointers to reach the underlying structures that describe files opened by processes. Lsof accepts options to limit, filter, and select its output. That output describes: * the process that has opened the file; * the process group identification number of the process (optional); * the command the process is executing; * the owner of the process; * the file descriptor of the file; * the file's access mode; * the file's lock status; * the file's device numbers; * the file's inode number; * the file's size or offset; * the name of the file system containing the file; * the file's stream head name; * the file's local and remote network address. (Lsof has a special filter that limits output to the listing of Internet socket files having specified protocol usage, host name, network address, service name, or port.) Lsof may be obtained via anonymous ftp from its "home" site, vic.cc.purdue.edu. Look in pub/lsof.README for information on the current distribution. Lsof is also available at these mirror sites: cert.org: pub/tools/lsof/ coast.cs.purdue.edu pub/tools/unix/lsof ftp.cs.columbia.edu: archives/lsof/ ftp.sterling.com: /admin-tools/lsof ftp.sunet.se: pub/unix/admin/lsof UnixWare users may obtain lsof from the Novell mail server and find it on the ftp.novell.de anonymous ftp host. To get it from the mail server, send this email: To: mail-server@novell.co.uk Subject: begin send BINARIES/lsof_3.08/lsof_3.08.tar.gz send SOURCES/lsof_3.08.tar.gz end Look in: /pub/unixware/usle/BINARIES/lsof_3.08/lsof_3.08.tar.gz /pub/unixware/usle/SOURCES/lsof_3.08.tar.gz on ftp.novell.de. Vic Abell, lsof author, -- Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu Be sure to include Keywords: and a short description of your software.