lkml.org 
[lkml]   [2000]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /proc guidelines and sysctl
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.049 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site