linux ps ef无输出,ps -ef | grep 的疑问以及nohup.out的输出问题

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

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值