From owner-freebsd-bugs Sun Feb 9 13:30:19 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 942B937B401 for ; Sun, 9 Feb 2003 13:30:17 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DEB843FBD for ; Sun, 9 Feb 2003 13:30:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h19LUGNS032543 for ; Sun, 9 Feb 2003 13:30:16 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h19LUGLj032542; Sun, 9 Feb 2003 13:30:16 -0800 (PST) Date: Sun, 9 Feb 2003 13:30:16 -0800 (PST) Message-Id: <200302092130.h19LUGLj032542@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Steven Hartland" Subject: Re: bin/47235: top reports inaccurate cpu usage Reply-To: "Steven Hartland" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/47235; it has been noted by GNATS. From: "Steven Hartland" To: , "Colin Percival" Cc: Subject: Re: bin/47235: top reports inaccurate cpu usage Date: Sun, 9 Feb 2003 21:21:49 -0000 I've also notice a high discrepancy in on our game server which don't run short lived processes per say is there anyway I could investigate this further? Regards Steve ----- Original Message ----- From: "Colin Percival" To: ; Sent: 09 February 2003 20:59 Subject: Re: bin/47235: top reports inaccurate cpu usage > I'm not sure this is a bug. If a process starts and stops during the > interval between top's updates, its cpu usage will be reflected in the "CPU > states" header, but top won't list the process (because it isn't running > any longer). This shows up most often while rebuilding the world or kernel > due to the large number of very short-lived processes which are spawned. > This could be fixed, I suppose, by reading the accounting files, but I > don't think it's worth the added complexity. > > Colin Percival > ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster@multiplay.co.uk. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message