From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <51cf2c80e2b5a2d9e2f4289d138aa411@plan9.bell-labs.com> From: David Presotto To: 9fans@cse.psu.edu Subject: Re: [9fans] killing rogue processes In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-fjqslbjdhgjqdiycmvqhuhioch" Date: Thu, 18 Dec 2003 14:50:48 -0500 Topicbox-Message-UUID: aab5b948-eacc-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-fjqslbjdhgjqdiycmvqhuhioch Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit netstat -n to get the tcp channel and grep tcp/channel /proc/*/fd. I'm sure you can do the shell script around that. --upas-fjqslbjdhgjqdiycmvqhuhioch Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Thu Dec 18 13:29:28 EST 2003 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Thu Dec 18 13:29:26 EST 2003 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 4E65C19DA9; Thu, 18 Dec 2003 13:29:24 -0500 (EST) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.76.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id EA09519DA1; Thu, 18 Dec 2003 13:29:10 -0500 (EST) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 53F3219DAF; Thu, 18 Dec 2003 13:28:19 -0500 (EST) Received: from fbsd.cpsc.ucalgary.ca (fbsd.cpsc.ucalgary.ca [136.159.7.68]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 7204C19D8E for <9fans@cse.psu.edu>; Thu, 18 Dec 2003 13:28:07 -0500 (EST) Received: from fbsd.cpsc.ucalgary.ca (localhost.localdomain [127.0.0.1]) by fbsd.cpsc.ucalgary.ca (8.12.8/8.12.8) with ESMTP id hBIIS07W008084 for <9fans@cse.psu.edu>; Thu, 18 Dec 2003 11:28:00 -0700 Received: from localhost (mirtchov@localhost) by fbsd.cpsc.ucalgary.ca (8.12.8/8.12.8/Submit) with ESMTP id hBIIS0iI008080 for <9fans@cse.psu.edu>; Thu, 18 Dec 2003 11:28:00 -0700 X-Authentication-Warning: fbsd.cpsc.ucalgary.ca: mirtchov owned process doing -bs From: andrey mirtchovski To: 9fans@cse.psu.edu Subject: Re: [9fans] killing rogue processes In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Thu, 18 Dec 2003 11:28:00 -0700 (MST) X-Spam-Status: No, hits=-2.4 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES,USER_AGENT_PINE,X_AUTH_WARNING version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) On Thu, 18 Dec 2003, Russ Cox wrote: > Kill the server it is talking to, which is clearly misbehaving. alright, what's the easiest way to figure out which process is using port XYZ? --upas-fjqslbjdhgjqdiycmvqhuhioch--