From: Dan Stromberg Subject: Re: identify fs using a particular port Date: Fri, 08 Oct 2004 15:18:23 -0700 Sender: nfs-admin@lists.sourceforge.net Message-ID: <1097273903.8133.142.camel@tesuji.nac.uci.edu> References: <20041008210212.GO7742@polop.usc.edu> <1097271075.8133.126.camel@tesuji.nac.uci.edu> <20041008215621.GR7742@polop.usc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-sN9SNFL/vey8WC7jsQDq" Cc: Dan Stromberg , nfs@lists.sourceforge.net Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1CG34G-0004DD-Vy for nfs@lists.sourceforge.net; Fri, 08 Oct 2004 15:18:28 -0700 Received: from dcs.nac.uci.edu ([128.200.34.32] ident=root) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1CG34G-0003Zy-6L for nfs@lists.sourceforge.net; Fri, 08 Oct 2004 15:18:28 -0700 To: Garrick Staples In-Reply-To: <20041008215621.GR7742@polop.usc.edu> Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: --=-sN9SNFL/vey8WC7jsQDq Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2004-10-08 at 14:56, Garrick Staples wrote: > On Fri, Oct 08, 2004 at 02:31:15PM -0700, Dan Stromberg alleged: > >=20 > > If it's an rpc service, you can likely get what's using the port from > > rpcinfo -p. >=20 > NFS clients don't register themselves as an RPC server in portmapper. >=20 > =20 > > If it's not an rpc service, you may be able to get it from > > /etc/services. > >=20 > > Also check out netstat -p. >=20 > I already know it is a kernel nfs thread, but that doesn't tell me which > filesystem. OK. How about firing up a tethereal/ethereal on that port, and watching for filenames going by? > =20 > > On Fri, 2004-10-08 at 14:02, Garrick Staples wrote: > > > Silly question that I can't find the answer to... is it possible to i= dentify > > > which mounted filesystem is using a particular port? > > >=20 > > > $ netstat -an | grep :782 > > > tcp 0 0 10.125.0.200:782 10.125.0.193:2049 E= STABLISHED=20 > > > ^^^ I need this port for another dae= mon > > >=20 > > > I have a 14 filesystems mounted from that machine, all busy with user > > > processes. So I'm trying to figure out which filesystem needs to be = unmounted > > > to free port 782. > > --=20 > > Dan Stromberg DCS/NACS/UCI > >=20 --=20 Dan Stromberg DCS/NACS/UCI --=-sN9SNFL/vey8WC7jsQDq Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBZxIvo0feVm00f/8RAuYgAKCKlXEkf9lJQPhVpzJwtgujjwXoHQCcDZQF utcflJH+9MsPXHF9TBWzcSY= =kdtZ -----END PGP SIGNATURE----- --=-sN9SNFL/vey8WC7jsQDq-- ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs