Date: Tue, 8 Jun 2004 21:21:00 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Doug Hardie <bc979@lafn.org> Cc: FreeBSD Question List <freebsd-questions@freebsd.org> Subject: Re: Top Consistency Message-ID: <20040609022100.GC46338@dan.emsphone.com> In-Reply-To: <341E98A6-B9B4-11D8-BD00-000393681B06@lafn.org> References: <20040609005314.81640.qmail@web40312.mail.yahoo.com> <341E98A6-B9B4-11D8-BD00-000393681B06@lafn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 08), Doug Hardie said: > I am running FreeBSD 4.6 and top does not show consistent data (at > least in my understanding). The cpu states line shows the percent of > time in user state. I would expect the percent processor used by all > the active processes to add up to something close to that. (single > processor machine). However, it never seems to come close. Often it > will show 25% user and the sums of the active processes utilizations > will be around 2%. Other times it will show 2% user and the sum of > the processes is over 10%. Is top wacky or is my understanding > wrong? The %WCPU and %CPU columns are weighted averages over ~60 seconds, while the "CPU states" row is an instantaneous snapshot, so they will almost never total up. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040609022100.GC46338>