Re: limit number of process in top with non-interactive mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-09-09 at 15:43 +0530, mnikhil m wrote:

> Top command in Linux is allowing to control the number of processes only in 
> the 
> interactive mode. I want to control the number of processes in 
> non-interactive batch 
> mode. Is there any other version of top available ? Or is there a way to do 
> so with 
> the current version itself? 
> 
> Note: Manual page for top is inappropriate with the command. 
> For example, "top 10" reports an improper use of command though it is valid 
> according to the man page. 

To see the top 10 processes you could do:

   top -bn1 | head -17


-- 
Ian

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux