Kernel statistic counters

Alexandre Vieira nullpt at gmail.com
Tue Feb 10 11:12:45 UTC 2009


Hi Geofrey,

Thanks for the input.

I've started using collecting data in real time with system tools such as
sar and will process the data with a 2 week sample because there doesn't
seem to exist kernel counters resembling solaris kstat ones.

Regards,
AJ

On Sun, Feb 8, 2009 at 6:56 PM, Geofrey Rainey <Geofrey.Rainey at tvnz.co.nz>wrote:

> Try "sar" from the package sysstat.
>
>
> -----Original Message-----
> From: redhat-list-bounces at redhat.com
> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Alexandre Vieira
> Sent: Friday, 6 February 2009 5:34 a.m.
> To: redhat-list at redhat.com
> Subject: Kernel statistic counters
>
> Hi list,
>
> I'm auditing (dimensioning, security, stability, performance, etc) a
> platform consisting of 4 RHEL machines and I'm having a hard time
> finding some system statistics.
>
> I'm used to Solaris where you have the kstats counters with basically
> everything.
>
> On linux I see that "ethtool -S ethX" gives me what I need for network
> stats. How about history counters on CPU activity, memory activity, disk
> activity?
>
> Imagine I want to see sd0 disk error statistic:
>
> #kstat sderr:0
>
> module: sderr                           instance: 0
> name:   sd0,err                         class:    device_error
>        crtime                          42.406513208
>        Device Not Ready                0
>        Hard Errors                     0
>        Illegal Request                 0
>        Media Error                     0
>        No Device                       0
>        Predictive Failure Analysis     0
>        Product                         MAT3073N SUN72G
>        Recoverable                     0
>        Revision                        0602
>        Serial No                       0530B093ML
>        Size                            73400057856
>        snaptime                        59275843.5048492
>        Soft Errors                     0
>        Transport Errors                0
>        Vendor                          FUJITSU
>
> Or partition 0 (/) from sd0 disk activity:
>
> #kstat sd:0:sd0,a
> module: sd                              instance: 0
> name:   sd0,a                           class:    partition
>        crtime                          42.500566541
>        nread                           408078787784
>        nwritten                        770591441920
>        rcnt                            0
>        reads                           56436484
>        rlastupdate                     59275924.4385759
>        rlentime                        481828.942334242
>        rtime                           331623.611754405
>        snaptime                        59275924.4385759
>        wcnt                            0
>        wlastupdate                     59275924.4385759
>        wlentime                        990.922349888
>        writes                          35321509
>        wtime                           973.857852654
>
> Much appreciated for your time.
>
> Regards
> AJ
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> ==========================================================
> For more information on the Television New Zealand Group, visit us
> online at tvnz.co.nz
> ==========================================================
> CAUTION:  This e-mail and any attachment(s) contain information that
> is intended to be read only by the named recipient(s).  This information
> is not to be used or stored by any other person and/or organisation.
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
Alexandre Vieira - nullpt at gmail.com



More information about the redhat-list mailing list