lkml.org 
[lkml]   [2003]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectAnswer to Swap performance statistics in 2.6 -- which /proc file has it
From
Date
The original question was intended to be this:  the VM swap counters,
originally in /proc/stat, went to which /proc pseudofile?

The answer, as I finally discovered by examining the several versions of
the procps package is /proc/vmstat.

The reason I had problems finding that simple fact has two related
answers. The first is that the code to generate /proc/vmstat is not
part of /fs/proc as one might expect and as it used to be in 2.4, but is
included in the mm directory where the memory management code lives.
The second is that the kernel documentation iostats.txt doesn't mention
anything about this particular form of I/O, and there is no document in
Documentation/vm.

I see I have my work cut out for me. Let me see if I can cobble
together a "patch" this weekend that creates a new file in
Documentation/vm that describes /proc/vmstat for 2.6 and get it
submitted.

Didn't someone start a Rosetta Stone back in 2.4 for the /proc
filesystem? Would such a thing be useful in the 2.6 kernel
documentation? Should I put something together?

The good news is that finding this thing unblocked me so that the
performance monitor I needed to ginidh is now 2.6 ready.

Stephen Satchell

-
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:59    [W:0.032 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site