Kernel statistic counters
Geofrey Rainey
Geofrey.Rainey at tvnz.co.nz
Sun Feb 8 18:56:10 UTC 2009
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.
More information about the redhat-list
mailing list