All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neil Horman <nhorman@redhat.com>
To: mike.miller@hp.com, mikem@beardog.cca.cpqcorp.net
Cc: marcelo.tosatti@cyclades.com, linux-kernel@vger.kernel.org,
	linux-scsi@vger.kernel.org, brian.b@hp.com
Subject: Re: patch so cciss stats are collected in /proc/stat
Date: Wed, 29 Sep 2004 15:08:49 -0400	[thread overview]
Message-ID: <415B0841.8010009@redhat.com> (raw)
In-Reply-To: <20040929161345.GB22308@beardog.cca.cpqcorp.net>

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

-- 
/***************************************************
  *Neil Horman
  *Software Engineer
  *Red Hat, Inc.
  *nhorman@redhat.com
  *gpg keyid: 1024D / 0x92A74FA1
  *http://pgp.mit.edu
  ***************************************************/

  parent reply	other threads:[~2004-09-29 19:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-29 16:13 patch so cciss stats are collected in /proc/stat mike.miller
2004-09-29 16:19 ` Christoph Hellwig
2004-09-29 19:08 ` Neil Horman [this message]
  -- strict thread matches above, loose matches on Subject: below --
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 17:25 Miller, Mike (OS Dev)
2004-09-29 17:25 ` Miller, Mike (OS Dev)
2004-09-29 19:26 Miller, Mike (OS Dev)
2004-09-29 19:26 ` Miller, Mike (OS Dev)
2004-09-29 19:39 ` 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=415B0841.8010009@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.