Sponsored Content
Full Discussion: IO Stats
Operating Systems AIX IO Stats Post 302237322 by bakunin on Wednesday 17th of September 2008 11:35:26 AM
Old 09-17-2008
Either what frank already suggested or "iostat". Syntax is similar to vmstat and you might want to pipe into grep to get only certain disks.

For instance:

Code:
iostat 1 | grep "hdisk2[0-9]" | more

will sample in 1-second-intervals until interrupted (^C) and only show hdisk20-hdisk29.

Beware when interpreting busy-rates (the "tm_acct%" column): 100% does NOT mean that the disk is at its limit!

There is a sensor which queries the disk in regular intervals. If the disk is busy at the time the query takes place it answers "busy", otherwise "idle". by totalling and comparing the two numbers the "tm_acct%" is calculated. 100% might therefore either mean that the disk is at its capacity limit OR that the disk is getting a lot of small requests, which makes it always busy, but not to its full I/O-bandwidth capacity.

I hope this helps.

Last edited by Neo; 09-17-2008 at 01:09 PM.. Reason: fixed code tags
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Display filename and wc stats

I'm just learning UNIX and I'm trying to do the following: Write a script called details.bash that, for each file in the working directory, prints the filename, the # of lines, and the # of words to to some output file, like this: filename1 73 431 filename2 5 21 It's probably a stupid... (1 Reply)
Discussion started by: asianmike
1 Replies

2. UNIX for Advanced & Expert Users

I/O Stats Metrics

What do others use for measuring I/O statistics? I'd like something versatile, as in being able to watch (like iostat, but easier to trend), generate load (like iozone, but more realistic), and perform somewhat generalized benchmarks (like bonnie, but more current.) It would scale from a few... (0 Replies)
Discussion started by: LivinFree
0 Replies

3. AIX

system stats

I recieved this out put below soemhow. Unfortunatly I did not write down the command I used to get it. Can someone tell me what command I use to gather these stats? OS = AIX 5.3 64Bit System Model: IBM,7026-6H1 Machine Serial Number:... (2 Replies)
Discussion started by: rocker40
2 Replies

4. Shell Programming and Scripting

script to update the stats

Hi, I am using the below shell script to update the webalizer stats: #!/bin/bash username='elogic1' domain='abcd.com' path_to_webalizer='/hsphere/shared/bin/webalizer' path_to_logs='/hsphere/local/home/elogic1/logs/abcd.com'... (4 Replies)
Discussion started by: gsiva
4 Replies

5. Shell Programming and Scripting

Using Stats in Php

So, I have a php program that i need to delete ALL files in a directory that are older than a certain age. <?php /* Get file stat */ $stat = stat('/apps/security/ajaba'); This is as far as I've been able to get. I know in shell programming you can easily do something like this. but I'm... (2 Replies)
Discussion started by: SkySmart
2 Replies

6. Shell Programming and Scripting

Build Stats out of output

Hi, I am required to build up a stats out of returned output. Something like given below. I would like first string in first column with a heading, and so on. Is there any way I could do it, while adding something after the command, or any other way. bash-2.05$ grep -i... (12 Replies)
Discussion started by: john_prince
12 Replies

7. Linux

Stats on subdirectories

Please help me with a shell script to get the stats on many subdirectories (sub1), (sub2) etc under a mother directory (big) /big | |_______sub1 |_______sub2 |_______sub3 --------- I want to know 1. What is the last file accessed in each subdirectory with date and by whom 2.... (2 Replies)
Discussion started by: digipak
2 Replies
CHI::Stats(3pm) 					User Contributed Perl Documentation					   CHI::Stats(3pm)

NAME
CHI::Stats - Record and report per-namespace cache statistics VERSION
version 0.54 SYNOPSIS
# Turn on statistics collection CHI->stats->enable(); # Perform cache operations # Flush statistics to logs CHI->stats->flush(); ... # Parse logged statistics my $results = CHI->stats->parse_stats_logs($file1, ...); DESCRIPTION
CHI can record statistics, such as number of hits, misses and sets, on a per-namespace basis and log the results to your Log::Any logger. You can then parse the logs to get a combined summary. A single CHI::Stats object is maintained for each CHI root class, and tallies statistics over any number of CHI::Driver objects. Statistics are reported when you call the "flush" method. You can choose to do this once at process end, or on a periodic basis. STATISTICS
The following statistics are tracked: o absent_misses - Number of gets that failed due to item not being in the cache o compute_time_ms - Total time spent computing missed results in compute, in ms (divide by number of computes to get average). i.e. the amount of time spent in the code reference passed as the third argument to compute(). o computes - Number of compute calls o expired_misses - Number of gets that failed due to item expiring o get_errors - Number of caught runtime errors during gets o get_time_ms - Total time spent in get operation, in ms (divide by number of gets to get average) o hits - Number of gets that succeeded o set_key_size - Number of bytes in set keys (divide by number of sets to get average) o set_value_size - Number of bytes in set values (divide by number of sets to get average) o set_time_ms - Total time spent in set operation, in ms (divide by number of sets to get average) o sets - Number of sets o set_errors - Number of caught runtime errors during sets METHODS
enable disable enabled Enable, disable, and query the current enabled status. When stats are enabled, each new cache object will collect statistics. Enabling and disabling does not affect existing cache objects. e.g. my $cache1 = CHI->new(...); CHI->stats->enable(); # $cache1 will not collect statistics my $cache2 = CHI->new(...); CHI->stats->disable(); # $cache2 will continue to collect statistics flush Log all statistics to Log::Any (at Info level in the CHI::Stats category), then clear statistics from memory. There is one log message for each distinct triplet of root class, cache label, and namespace. Each log message contains the string "CHI stats:" followed by a JSON encoded hash of statistics. e.g. CHI stats: {"absent_misses":1,"label":"File","end_time":1338410398,"get_time_ms":5, "namespace":"Foo","root_class":"CHI","set_key_size":6,"set_time_ms":23, "set_value_size":20,"sets":1,"start_time":1338409391} parse_stats_logs (log1, log2, ...) Parses logs output by "CHI::Stats" and returns a listref of stats totals by root class, cache label, and namespace. e.g. [ { root_class => 'CHI', label => 'File', namespace => 'Foo', absent_misses => 100, expired_misses => 200, ... }, { root_class => 'CHI', label => 'File', namespace => 'Bar', ... }, ] Lines with the same root class, cache label, and namespace are summed together. Non-stats lines are ignored. The parser will ignore anything on the line before the "CHI stats:" string, e.g. a timestamp. Each parameter to this method may be a filename or a reference to an open filehandle. SEE ALSO
CHI AUTHOR
Jonathan Swartz <swartz@pobox.com> COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jonathan Swartz. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-05-30 CHI::Stats(3pm)
All times are GMT -4. The time now is 05:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy