From owner-cvs-all Mon Oct 4 17:37:24 1999 Delivered-To: cvs-all@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id DDFFB151AB; Mon, 4 Oct 1999 17:36:57 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id RAA72855; Mon, 4 Oct 1999 17:35:43 -0700 (PDT) (envelope-from dillon) Date: Mon, 4 Oct 1999 17:35:43 -0700 (PDT) From: Matthew Dillon Message-Id: <199910050035.RAA72855@apollo.backplane.com> To: Greg Lehey Cc: Dag-Erling Smorgrav , thyerm@camtech.net.au, Ruslan Ermilov , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: top with < 1 second delay (was: cvs commit: src/bin/sleep sleep.1 sleep.c) References: <199910041635.JAA67276@apollo.backplane.com> <19991005091744.W40186@freebie.lemis.com> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk :>> :>> Dag-Erling Smorgrav - des@flood.ping.uio.no :> :> top is kinda cpu-heavy. Occassionally I'll use 's0' just to :> watch the display go nuts, but beyond the laughs having a less then :> one second update time isn't all that useful for top. : :I think that depends on what you're looking at. I could imagine that :people look at other things besides the CPU time breakdown. I :personally think that it would be a useful thing to have. : :Greg Well, as I said, top can be very cpu-heavy, especially on machines with a lot of processes. So if you are going to allow < 1 second top the feature should be restricted to root. systat, vmstat, and iostat are not cpu-heavy and one could allow < 1 second operation with those programs without the root restriction, though I would impose a 1/10 second minimum. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message