rauscher@romulus.rutgers.edu (Rich Rauscher) (05/01/91)
Thanks to following people who replied to my message: >Is there any way to find out what active tcp ports >are associated with which process id's? I'm on a Sun 4/110 >running the latest release of SunOS. us267388@web.mmc.mmmg.com (Bradley D. Rhoades) shj@ultra.com (Steve Jay) smb@ulysses.att.com The gist of what they said was that Gary Nebbett (grn@stl.stc.co.uk) had written a program called ofiles which produces exactly the results I was seeking. 'ofiles` was already installed at Rutgers and is available at many ftp sites. Here's a sample output: 15 tubes:/ug/u2/rauscher >ofiles tcp. user process command type port(s) root 117 inetd s 21 23 514 513 512 79 13 37 ingres 275 iigcn s 1036 root 42 portmap s 111 root 45 ypbind s 1029 root 81 rpc.lockd s 684 689 696 699 root 80 rpc.statd s 683 rauscher 1626 tcsh s 514 514 514 rauscher 1592 rsh s 1015 1014 rauscher 1575 Xsun s 6000 6000 6000 6000 6000 6000 6000 ingres 331 iigcc s 18584 1043 rauscher 1657 xterm s 514 rauscher 1658 telnet s 1139 rauscher 1596 rsh s 1019 1018 root 1624 in.rshd s 1021 rauscher 1594 rsh s 1017 1016 rauscher 1623 rsh s 1023 1022 rauscher 1631 twm s 514 514 Thanks again.. -Rich -- ------------- rauscher@rutgers.edu RPO 5997 PO 5063, New Brunswick, NJ 08903 rauscher@PISCES Shakespeare learns Discrete Math: {backbone site}!rutgers!rauscher (2B | not (2B)) <=> TRUE
pww@bnr.ca (Peter Whittaker) (05/02/91)
In article <May.1.12.05.00.1991.11274@romulus.rutgers.edu> rauscher@romulus.rutgers.edu (Rich Rauscher) writes: >The gist of what they said was that Gary Nebbett (grn@stl.stc.co.uk) >had written a program called ofiles which produces exactly the >results I was seeking. 'ofiles` was already installed at Rutgers and >is available at many ftp sites. > >Here's a sample output: > >15 tubes:/ug/u2/rauscher >ofiles tcp. >user process command type port(s) >root 117 inetd s 21 23 514 513 512 79 13 37 >ingres 275 iigcn s 1036 etc... Wow - this would have saved me many headaches sometime ago.... Could you (or some other benevolent sole - if there are any fish on USENET) provide the names of a few of these ftp sites. I *want* this tool! -- Peter Whittaker [~~~~~~~~~~~~~~~~~~~~~~~~~~] Open Systems Integration pww@bnr.ca [ DSA's'R'Us! ] Bell Northern Research Ph: +1 613 765 2064 [ ] P.O. Box 3511, Station C FAX:+1 613 763 3283 [__________________________] Ottawa, Ontario, K1Y 4H7
rauscher@remus.rutgers.edu (Rich Rauscher) (05/02/91)
pww@bnr.ca (Peter Whittaker) writes: >>root 117 inetd s 21 23 514 513 512 79 13 37 >>ingres 275 iigcn s 1036 >etc... >Wow - this would have saved me many headaches sometime ago.... Could >you (or some other benevolent sole - if there are any fish on USENET) >provide the names of a few of these ftp sites. I *want* this tool! Sure thing. Here's a couple: uxc.cso.uiuc.edu warchive.wustl.edu dsrbg2.informatik.tu-muenchen.de --- Rich -- ------------- rauscher@rutgers.edu RPO 5997 PO 5063, New Brunswick, NJ 08903 rauscher@PISCES Shakespeare learns Discrete Math: {backbone site}!rutgers!rauscher (2B | not (2B)) <=> TRUE
hubert@CAC.WASHINGTON.EDU (Steve Hubert) (05/03/91)
Has anyone done an ULTRIX4 version of ofiles? Steve Hubert Univ. of Washington, Seattle hubert@cac.washington.edu
emv@ox.com (Ed Vielmetti) (05/04/91)
In article <MailManager.673214507.213.hubert@kamba.cac.washington.edu> hubert@CAC.WASHINGTON.EDU (Steve Hubert) writes: Has anyone done an ULTRIX4 version of ofiles? Yes, Jeff Mogul from DEC did one. Here's his reference from comp.archives in December of last year. Archive-name: unix/admin/ofiles/1990-12-04 Archive: gatekeeper.dec.com:pub/DEC/ofiles.tar.Z [16.1.0.2] Original-posting-by: mogul@bacchus.pa.dec.com (Jeffrey Mogul) Original-subject: Re: Showing files a process has open. Reposted-by: emv@ox.com (Edward Vielmetti) In article <1990Nov10.225213.2706@chinet.chi.il.us> garret@chinet.chi.il.us (Garret Toomey) writes: > >We need a way to list the names of files that a process >has open. We are running Ultrix 4.0 on Decstations (2100, >3100, 5000), and on DECsystems (5400, 58x0). > >I know a program "fuser" could do this under SVR3 or so. >Does an Ultrix version exist ? .... There is a program called "ofiles", written a bunch of people over the years, that I have ported to Ultrix 4.0 (MIPS and Vax). Or, at least I think my port works. I haven't tested the "feature" that allows you to run ofiles on a crash dump; I've only tried it on a live system. Anyway, the sources are available on gatekeeper.dec.com:pub/DEC/ofiles.tar.Z -Jeff --- end of message --- -- Msen Edward Vielmetti /|--- moderator, comp.archives emv@msen.com "(6) The Plan shall identify how agencies and departments can collaborate to ... expand efforts to improve, document, and evaluate unclassified public-domain software developed by federally-funded researchers and other software, including federally-funded educational and training software; " High-Performance Computing Act of 1991, S. 218
scottp@se-sd.SanDiego.NCR.COM (Scott Platenberg) (05/07/91)
In article <EMV.91May3230224@poe.aa.ox.com> emv@ox.com (Ed Vielmetti) writes: >In article <MailManager.673214507.213.hubert@kamba.cac.washington.edu> hubert@CAC.WASHINGTON.EDU (Steve Hubert) writes: > > Has anyone done an ULTRIX4 version of ofiles? > >Yes, Jeff Mogul from DEC did one. Here's his reference from >comp.archives in December of last year. Has anyone done a SysV version? -Scott
brnstnd@kramden.acf.nyu.edu (Dan Bernstein) (05/08/91)
In article <MailManager.673214507.213.hubert@kamba.cac.washington.edu> hubert@CAC.WASHINGTON.EDU (Steve Hubert) writes: > Has anyone done an ULTRIX4 version of ofiles? My pff (process-file-file) program, which merges and improves upon the available versions of ofiles and fstat, has been tested on each of the following systems: SunOS 4.0.3, Sun 4/280 SunOS 4.1, lots of Suns (thanks Seth Robertson) Ultrix 4.1, DECsystem 5820 Ultrix 2.2, VAX 8800 (thanks Vic Abell) BSD 4.3-Tahoe, VAX 11/780 (thanks Vic Abell) Convex UNIX 9.0, Convex-C1-XP DYNIX 3.0.17 (modified), Symmetry S81 (thanks Vic Abell) pff should be generally easier to port than ofiles. It's part of the kstuff package, version 0.18 of which I just posted to alt.sources. You can ftp version 0.18 from pub/hier/kstuff:/18 on stealth.acf.nyu.edu. The package also includes a history of various ofiles versions, in case you're interested in knowing who did what. As extra bonuses, kstuff includes lots of kernel-reading libraries you can use in various applications, as well as updated versions of my RFC 931 server program and client library, as well as a utility to do a fast mapping from (device,inode) back to filename. This gets back to the ofiles track---if you install findinode, pff will give you open files by name! But enough advertising for now. ---Dan