From: Daniel Kobras <kobras@tat.physik.uni-tuebingen.de>
To: venom@sns.it, linux-kernel@vger.kernel.org
Subject: Re: 2.5.44: /proc/stat not reporting all disks statistics
Date: Wed, 23 Oct 2002 10:03:20 +0200 [thread overview]
Message-ID: <20021023080318.GA655@neljae> (raw)
In-Reply-To: <Pine.LNX.4.43.0210230137380.25356-100000@cibs9.sns.it>
On Wed, Oct 23, 2002 at 01:42:18AM +0200, venom@sns.it wrote:
> I have on this system two disks, primary master and secondary master,
> hda and hdc.
>
> In /proc/stat
> i see just:
>
> disk_io: (3,0):(24382,16849,158610,7533,382512)
>
> so, I see 22,0 disk (hdc) is somehow missing.
By default, the kernel only collects statistics on majors 1 to 16. If
you want the disks on your second IDE channel to show up, go to
include/linux/kernel_stat.h and raise the limit DK_MAX_MAJOR to 22 or
higher. (Assuming 2.5 stats still work the same as in 2.4, that is.)
Daniel.
prev parent reply other threads:[~2002-10-23 7:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-22 23:42 2.5.44: /proc/stat not reporting all disks statistics venom
2002-10-23 8:03 ` Daniel Kobras [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=20021023080318.GA655@neljae \
--to=kobras@tat.physik.uni-tuebingen.de \
--cc=linux-kernel@vger.kernel.org \
--cc=venom@sns.it \
/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