Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 55566 invoked from network); 7 Dec 2002 02:35:50 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 7 Dec 2002 02:35:50 -0000 Received: (qmail 19980 invoked by uid 97); 7 Dec 2002 02:36:10 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 19766 invoked by uid 97); 7 Dec 2002 02:36:09 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 19586 invoked by uid 98); 7 Dec 2002 02:36:06 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Fri, 6 Dec 2002 18:34:46 -0800 (PST) From: "Craig R. McClanahan" To: Tomcat Users List Subject: Re: how many linux processes should tomcat create??? In-Reply-To: <20021206061220.29363.qmail@web13202.mail.yahoo.com> Message-ID: <20021206100543.D83469-100000@icarus.apache.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Thu, 5 Dec 2002, RXZ JLo wrote: > Date: Thu, 5 Dec 2002 22:12:20 -0800 (PST) > From: RXZ JLo > Reply-To: Tomcat Users List > To: Tomcat Users List > Subject: Re: how many linux processes should tomcat create??? > > > > > Those are not processes, those are threads. > > > > $ ps awx shows the output below. As you say the > following may be threads, At least on Linux, where the default "ps" display lies to you by implying that these are processes. > but how do I get the parent > process of all these - ie., how do I restrict the > output to show only the processes and not the threads > within. I need this to kill the tomcat which keeps > running even after shutdown(whose cause I dont know) > > > 9046 ? S 0:04 > /usr/java/jdk1.3.1_06/bin/i386/native_threads/java -D > java.endorsed.dirs=/home/dev/software/jakarta-tomcat > 9073 ? S 0:00 > /usr/java/jdk1.3.1_06/bin/i386/native_threads/java -D > java.endorsed.dirs=/home/dev/software/jakarta-tomcat > I like "ps -auf" or "ps -auxf" for that -- it shows the tree relationships. Craig -- To unsubscribe, e-mail: For additional commands, e-mail: