top -b -n 1

Peter Lauri peterlauri at gmail.com
Sun Dec 23 14:09:26 UTC 2007


-d is just giving the "Delay Time" so it is not giving me what I need. I
need top to just output the current status to STDOUT and after that exit.
The only way to do that is to go with the -b option, but that one seams to
be "averaging" the values instead of giving the current status.

So to move out of the "top box": how can I get a "snap shot" of the current
CPU load?

/Peter


On Dec 23, 2007 1:18 AM, John Summerfield <debian at herakles.homelinux.org>
wrote:

>
> -d
> but be realistic, you don't want top dominating the system.
>
>
> --
>
> Cheers
> John
>
> -- spambait
> 1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu
> -- Advice
> http://webfoot.com/advice/email.top.php
> http://www.catb.org/~esr/faqs/smart-questions.html<http://www.catb.org/%7Eesr/faqs/smart-questions.html>
> http://support.microsoft.com/kb/555375
>
> You cannot reply off-list:-)
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20071223/79f92ea3/attachment-0001.html 


More information about the users mailing list