From: Neil Horman <nhorman@redhat.com>
To: "Miller, Mike (OS Dev)" <mike.miller@hp.com>
Cc: mikem@beardog.cca.cpqcorp.net, marcelo.tosatti@cyclades.com,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, "Baker,
Brian (ISS - Houston)" <brian.b@hp.com>
Subject: Re: patch so cciss stats are collected in /proc/stat
Date: Wed, 29 Sep 2004 15:39:49 -0400 [thread overview]
Message-ID: <415B0F85.3090808@redhat.com> (raw)
In-Reply-To: <D4CFB69C345C394284E4B78B876C1CF107DBFE1A@cceexc23.americas.cpqcorp.net>
Miller, Mike (OS Dev) wrote:
>>mike.miller@hp.com wrote:
>>
>>>Currently cciss statistics are not collected in /proc/stat.
>>
>>This patch
>>
>>>bumps DK_MAX_MAJOR to 111 to fix that. This has been a
>>
>>common complaint
>>
>>>by customers wishing to gather info about cciss devices.
>>>Please consider this for inclusion. Applies to 2.4.28-pre3.
>>>
>>>Thanks,
>>>mikem
>>>
>>
>>--------------------------------------------------------------
>>-----------------
>>
>>>diff -burNp lx2428-pre1.orig/include/linux/kernel_stat.h
>>
>>lx2428-pre1/include/linux/kernel_stat.h
>>
>>>--- lx2428-pre1.orig/include/linux/kernel_stat.h
>>
>>2004-08-23 15:41:43.640300000 -0500
>>
>>>+++ lx2428-pre1/include/linux/kernel_stat.h 2004-08-23
>>
>>15:43:07.097613064 -0500
>>
>>>@@ -12,7 +12,7 @@
>>> * used by rstatd/perfmeter
>>> */
>>>
>>>-#define DK_MAX_MAJOR 16
>>>+#define DK_MAX_MAJOR 111
>>> #define DK_MAX_DISK 16
>>>
>>> struct kernel_stat {
>>>-
>>>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/
>>
>>The answer to this is to use the latest sysstat tools. the latest
>>version of iostat, sar, etc draw information out of /proc/partitions
>>rather than out of /proc/stat. Or are you using some other
>>home rolled
>>tool in this case?
>>
>>Neil
>
>
> It's customers that are doing this. I think some of them are using their own tools. Others are probably using whatever comes on their distro.
>
> mikem
>
They should probably upgrade their tools, be they from the distro or
their own (It was my understanding that /proc/stat was depricated and
going to be removed in the not-to-distant future).
Neil
>
>>--
>>/***************************************************
>> *Neil Horman
>> *Software Engineer
>> *Red Hat, Inc.
>> *nhorman@redhat.com
>> *gpg keyid: 1024D / 0x92A74FA1
>> *http://pgp.mit.edu
>> ***************************************************/
>
>
--
/***************************************************
*Neil Horman
*Software Engineer
*Red Hat, Inc.
*nhorman@redhat.com
*gpg keyid: 1024D / 0x92A74FA1
*http://pgp.mit.edu
***************************************************/
next prev parent reply other threads:[~2004-09-29 19:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-29 19:26 patch so cciss stats are collected in /proc/stat Miller, Mike (OS Dev)
2004-09-29 19:26 ` Miller, Mike (OS Dev)
2004-09-29 19:39 ` Neil Horman [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-09-29 17:25 Miller, Mike (OS Dev)
2004-09-29 17:25 ` Miller, Mike (OS Dev)
2004-09-29 16:29 Miller, Mike (OS Dev)
2004-09-29 16:29 ` Miller, Mike (OS Dev)
2004-09-29 16:43 ` Arjan van de Ven
2004-09-29 16:58 ` Andreas Haumer
2004-10-01 5:21 ` Willy Tarreau
2004-09-29 17:20 ` mikem
2004-10-01 5:33 ` Willy Tarreau
2004-09-29 20:35 ` Marcelo Tosatti
2004-09-29 16:13 mike.miller
2004-09-29 16:19 ` Christoph Hellwig
2004-09-29 19:08 ` Neil Horman
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=415B0F85.3090808@redhat.com \
--to=nhorman@redhat.com \
--cc=brian.b@hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
--cc=mike.miller@hp.com \
--cc=mikem@beardog.cca.cpqcorp.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.