From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,51f67da7ff58fc35 X-Google-Attributes: gidf8c9b,public X-Google-Thread: 10952f,51f67da7ff58fc35 X-Google-Attributes: gid10952f,public X-Google-Thread: fee84,51f67da7ff58fc35 X-Google-Attributes: gidfee84,public From: swlodin@eng.delcoelect.com (Steve Lodin) Subject: Re: Netstat reverse mapping Date: 1996/11/12 Message-ID: <56ao27$qtc@kocrsv08.delcoelect.com>#1/1 X-Deja-AN: 196749401 distribution: usa sender: swlodin@mail.delcoelect.com (Steve Lodin) references: <32878C3A.58F0@cryogen.com> organization: Delco Electronics Corp. newsgroups: comp.security.unix,comp.unix.osf.osf1,comp.unix.questions originator: swlodin@kocrsw26 In article <32878C3A.58F0@cryogen.com>, Jason Martin writes: > -----BEGIN PGP SIGNED MESSAGE----- > > I have been trying to figure out how to reverse map outgoing > ports from the netstat commands to a persons account or proccess ID. > Some users are IRC'ing or running servers that are not supposed > to be run on our machine. > > Has anyone figured out how to take netstat info and connect > it to a persons account on DEC UNIX? > The very fine utility from Vic Abel at Purdue called lsof (List Open Files) will allow you to determine which users have which ports/processes in use. ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/ Steve -- Steve Lodin - Delco Electronics - swlodin@delcoelect.com - (317)451-0479 "Too many issues, not enough time." -- Tony Powers