Mark Post wrote:
On Wed, Feb 28, 2007 at 11:29 AM, in message
<[EMAIL PROTECTED]>, Adam Thornton
<[EMAIL PROTECTED]> wrote:
On Feb 28, 2007, at 9:53 AM, Levy, Alan wrote:

When I do a TOP, the Performance Toolkit shows a spike to 90% of the
cpu. When I ctrl- C out of top, it goes down to 32% (normal).
-snip-
When I do a PS, it pages on forever (actually 400+ processes).
-snip-

That's a pretty obscene amount of resource consumption by top.   I
don't *think* it should be doing that to you.

When you get up to that many processes running, top does indeed do that to you. 
 I suspect there are some serious opportunities for code optimization in top.


Try one of these:
        top -n1
or to test its friendliness:
        time top -n1






--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]

Please do not reply off-list

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to