linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Satchell <list@satchell.net>
To: linux-kernel@vger.kernel.org
Subject: Answer to Swap performance statistics in 2.6 -- which /proc file has it
Date: Wed, 10 Dec 2003 05:06:07 -0800	[thread overview]
Message-ID: <1071061566.12344.15.camel@ssatchell1.pyramid.net> (raw)
In-Reply-To: <3FD6F6A8.80907@kubla.de>

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


      reply	other threads:[~2003-12-10 13:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BF1FE1855350A0479097B3A0D2A80EE00184D619@hdsmsx402.hd.intel.com>
2003-12-08 19:29 ` balance interrupts Len Brown
2003-12-08 20:00   ` Julien Oster
2003-12-08 20:02     ` Julien Oster
2003-12-08 21:46     ` Len Brown
2003-12-09  3:51   ` Bob
2003-12-09  5:11     ` Stephen Satchell
2003-12-09 13:19     ` Swap performance statistics in 2.6 -- which /proc file has it? Stephen Satchell
2003-12-09 13:56       ` Richard B. Johnson
2003-12-09 14:46         ` Stephen Satchell
2003-12-09 15:25           ` Richard B. Johnson
2003-12-09 19:53             ` Dominik Kubla
2003-12-09 20:24               ` Richard B. Johnson
2003-12-10 10:18                 ` Dominik Kubla
2003-12-10  1:28               ` Stephen Satchell
2003-12-10 10:34                 ` Dominik Kubla
2003-12-10 13:06                   ` Stephen Satchell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1071061566.12344.15.camel@ssatchell1.pyramid.net \
    --to=list@satchell.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).