Messages in this thread |  | | Subject | Answer to Swap performance statistics in 2.6 -- which /proc file has it | From | Stephen Satchell <> | Date | Wed, 10 Dec 2003 05:06:07 -0800 |
| |
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/
|  |