1834368 Members
2393 Online
110066 Solutions
New Discussion

% activity disk

 
jay_40
Occasional Contributor

% activity disk

hello,

Y search a command that indicates the percentage of time the physical disk was active like AIX(iostat).

Thank you
9 REPLIES 9
T G Manikandan
Honored Contributor

Re: % activity disk

Even here you can use iostat

#iostat [interval] [count]

Steve Lewis
Honored Contributor

Re: % activity disk

sar -d 10 6

will show disk activity every 10 seconds over 1 minute.

Otherwise you can use measureware to collect stats over time or Glance to get real-time figures for each disk, also Glance gives you i/o by logical volume and filesystem which you cannot get otherwise.

iostat 10 6 will show you activity for disks on HP-UX, but not busy%.

Sridhar Bhaskarla
Honored Contributor

Re: % activity disk

iostat exists here too.

Another useful built-in command is sar -d interval count


-Sri
You may be disappointed if you fail, but you are doomed if you don't try
PIYUSH D. PATEL
Honored Contributor

Re: % activity disk

Hi,

Use
sar -d 10 1

and well iostat command is available in hpux also.

Piyush
Victor_5
Trusted Contributor

Re: % activity disk

use sar -d, for example, sar -d 5 5, man for more.
PIYUSH D. PATEL
Honored Contributor

Re: % activity disk

Hi,

I suggest you to use glance/gpm/perfview to monitor the disk activity.

Piyush
MANOJ SRIVASTAVA
Honored Contributor

Re: % activity disk

Jay

the basic command is sar -d x y where x is the no of times you want to run after every y seconds. this can be run in cron to collect data . However there are tools like perf view which can record disk activity over a long period of time .

Also in case you have EMC frame then you can use vendor specific utilities like ( powermt display ) to know waht is teh activity going on


Manoj Srivastava


Frank Slootweg
Honored Contributor

Re: % activity disk

For modern drivers/devices, "sar -d" %busy and avque numbers can be misleading. I advise to use only the other number (r+w/s, blks/s, avwait and avserv) in the output, or, as others have mentioned, iostat(1), or, better, Glance.
Tim D Fulford
Honored Contributor

Re: % activity disk

Best tooll MeasureWare We currently have C.2.40 which is old. Newer versions also give service times. I use the following report-file

REPORT "MWA Export !DATE !TIME Logfile: !LOGFILE !COLLECTOR !SYSTEM_ID"
FORMAT ASCII
HEADINGS ON
SEPARATOR="|"
SUMMARY=60
MISSING=0
DATA TYPE DISK
DATE
TIME
BYDSK_DEVNAME
BYDSK_PHYS_READ_RATE
BYDSK_PHYS_WRITE_RATE
BYDSK_PHYS_IO_RATE
BYDSK_SYSTEM_IO_RATE
BYDSK_UTIL
BYDSK_REQUEST_QUEUE

If you did not know

# /opt/perf/bin/extract -xp -d -r -b -e
-xp ==> export
-d ==> detailed disk metrics
-r ==> report-file name
-b ==> begin date & time
-e ==> end date & time

You can also look at the disks in real time using
# /opt/perf/bin/glance -u

Tim
-