Path: g2news2.google.com!news2.google.com!news.glorb.com!news-out.octanews.net!indigo.octanews.net!auth.rouge.octanews.com.POSTED!not-for-mail
Newsgroups: comp.os.linux.misc
From: Rockinghorse Winner
Subject: Re: top vs ps -ef
References: <0eac8276-96a9-48a1-b73b-d9a984faaaf7@w35g2000prg.googlegroups.com>
Organization: Borscht Belt Babes
User-Agent: slrn/0.9.7.4 (Linux)
Date: 05 May 2009 15:29:53 GMT
Lines: 35
Message-ID: <4a005b71$0$162$892e0abb@auth.newsreader.octanews.com>
NNTP-Posting-Date: 05 May 2009 10:29:53 CDT
X-Complaints-To: abuse@octanews.net
While reading comp.os.linux.misc, these remarks by Nathan caught my eye
****possibly snipped for brevity****
> sydneypue...@yahoo.com wrote:
>
>> Hello,
>> I have a linux box which is leaking memory quite badly.
>> The problem seems to be related to memory heavy java processes that
>> show up in top
>> 9342 netcool 15 0 42428 28M 2304 S 0.3 1.4 0:50 2 java
>> 10811 netcool 15 0 19000 18M 2176 S 0.2 0.9 0:00 1 java
>> 9596 netcool 15 0 1368 1368 776 S 0.1 0.0 0:07 0 top
>> 9616 netcool 15 0 410M 410M 2364 S 0.1 20.4 0:03 0
>> java
>>
>> but do not show up with a
>> [user1@oxygen etc]$ ps -ef | grep 9616
>>
>> so I dont know which java app this belongs to.
>>
>> Any suggestions for further trouble shooting?
>>
>> TIA
>>
>> Syd
>
> top and ps don't work the same way. Try pstree or ps without grepping
> the specific pid.
Wow, didn't know about pstree. Thanks!
*R* *H*http://www.qingcai.cc
--
http://strongwinds.blogspot.com/ ... honest-poverty.html