From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27993 invoked from network); 7 Apr 2001 18:26:56 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 Apr 2001 18:26:56 -0000 Received: (qmail 26486 invoked by alias); 7 Apr 2001 18:26:47 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3810 Received: (qmail 26474 invoked from network); 7 Apr 2001 18:26:46 -0000 From: "Bart Schaefer" Message-Id: <1010407182602.ZM15804@candle.brasslantern.com> Date: Sat, 7 Apr 2001 18:26:01 +0000 In-Reply-To: <20010407163348.A619@gmx.de> Comments: In reply to Dominik Vogt "displaying top cpu using process" (Apr 7, 4:33pm) References: <20010407163348.A619@gmx.de> X-Mailer: Z-Mail (5.0.0 30July97) To: dominik.vogt@gmx.de, zsh-users@sunsite.auc.dk Subject: Re: displaying top cpu using process MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 7, 4:33pm, Dominik Vogt wrote: } Subject: displaying top cpu using process } } ps gives me complete control over the output format, but I can't } make it give me the CPU percentage. Although the 'C' output } modifier is documented as } } "use raw CPU time for %CPU instead of decaying average" } } I always get the decaying average. I can't even get my "ps" to accept the C modifier. It keeps interpreting it as the "selection by command name" option, and telling me that only root is allowed to do that. } top -b -n 1 | sed '