On Sat, Jan 08, 2000 at 08:19:05PM +0100, Dominik Kubla <dominik.kubla@uni-mainz.de> wrote:
> > Incidentally, top only uses sycalls to access this information it requires
> > (namely open/read/close ;) IT's just that it needs _hundresds_ or even
> > _thousands_ of syscalls.
>
> The top included in the procps-suite (which is what commonly is used as top
> on linux) uses the procps library, hence it uses the procfs.
Thanks for clarifying what I wrote!
> Even the "real" top has dropped sysctl support back when the kmem-ps
> suite died and now uses almost exclusively lookups in /proc.
We all knew this already, don't we? ;)
> What was it what you wanted to prove?
That procps and procfs are dog slow (just read what I wrote). And (an
enhanced) sysctl would provide for a far faster top!
Was it that that wasn't clear to you?
-- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg@opengroup.org |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:13 EST