Re: how do I get processor usage info?
Re: how do I get processor usage info?
- Subject: Re: how do I get processor usage info?
- From: "John W. Baxter" <email@hidden>
- Date: Thu, 01 Jul 2004 16:09:17 -0700
On 6/30/2004 21:28, "Andrew Oliver" <email@hidden> wrote:
>
For some reason that I can't quite see, this always reports 100% processor
>
usage for the first hit. This can be seen by the command:
>
>
top -l2|awk '/Load Avg/ { print $0 };'
Not "always"...
$ top -l2|awk '/Load Avg/ { print $0 };'
Load Avg: 0.05, 0.10, 0.16 CPU usage: 14.6% user, 45.8% sys, 39.6%
idle
Load Avg: 0.05, 0.10, 0.16 CPU usage: 14.0% user, 13.6% sys, 72.3%
idle
However, the top itself process always shows an excessively high CPU % early
in its lifetime, since its process was just busily loading and initializing
top.
ssh will push that up a lot, since ssh has lots of work to do.
--John
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.