lkml.org 
[lkml]   [2001]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Tools better than vmstat [was: 2.4.9-ac16 good perfomer?]
On Fri, Sep 28, 2001 at 11:00:34PM +0100, Russell King wrote:
> On Fri, Sep 28, 2001 at 02:53:24PM -0700, Mike Fedyk wrote:
> > Is there any possibility of using Russell's patch for this user space tool?
>
> There is one property the kernel space method has over any user space
> tool on a UP machine (and conceivably a SMP machine with more code) -
> you get a complete atomic snapshot of the VM state. Might be useful
> and important, but might not be.
>

Actually, I was suggesting a combined kernel and user space design.

/proc/vm-page-ages would give all of the gory numbers in an atomic way, and
vm-page-stat would distil that into the percentages much like vmstat
output...

> It would be pretty easy to change my kernel patch to produce what you're
> requesting, from another sysrq key combination.
>

Is sysrq easier to code for, or initiate-on-proc-read?

I'm just sorry I don't know enough C to do this myself... :(
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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