Sponsored Content
Operating Systems Linux How to Calculate Disk Queue length and Disk Busy Time Post 302513916 by maruthu on Thursday 14th of April 2011 10:17:48 AM
Old 04-14-2011
How to Calculate Disk Queue length and Disk Busy Time

Hi,

Am doing an enhancements related to monitoring a Linux disk I/O statistics.

The /proc/diskstats file is used to get the each disk I/O statistics. But, It returns the raw value.

How to calculate the Disk Queue Length and Disk Busy time from the raw values.

Guide me.
 

8 More Discussions You Might Find Interesting

1. AIX

Hard disk usage is 100 Percent Busy for any command

hi, AIX 5.3 For any command(say tar command) I am getting 100% busy for my hdisk. But my CPU and Memory is not busy and have more idle also. Please advice for any performance analysing. Thanks in Advance, (3 Replies)
Discussion started by: npcrao
3 Replies

2. Shell Programming and Scripting

Calculate disk usage in different servers

Hello, I'm writing a script to monitor different filesystems in multiple servers. And depending on the % free, my script will send an Alert email if % free is less than threshold. I want to keep a input_feed_file which would have "server,filesystem". If I run a script a host 'a', then I can... (3 Replies)
Discussion started by: bperl
3 Replies

3. Solaris

( VxVM ) How to add the removed disk back to previous disk group

Previously , i remove the disk by #vxdg -g testdg -k rmdisk testdg02 But i got error when i -k adddisk bash-2.03# vxdisk list DEVICE TYPE DISK GROUP STATUS c0t0d0s2 auto:none - - online invalid c0t1d0s2 auto:none ... (1 Reply)
Discussion started by: waibabe
1 Replies

4. Linux

Umount of a "busy" disk

A product I am working on manages storage. We are currently porting it from Solaris to Linux. The product allows its user, among other things, to add and remove file server volumes, where these volumes are exported using the NFS or the CIFS protocol. The problem is that when the user requests to... (5 Replies)
Discussion started by: dhzdh
5 Replies

5. AIX

Topas total Disk Busy %

Hi Everyone, anyone know how to derive the value for the total disk busy % (shown in topas ) ? Thanks. Best Regards, ckwan (1 Reply)
Discussion started by: ckwan
1 Replies

6. AIX

Command to check the busy % for a hard disk device like hdisk5

Please help with command to check the busy % for a hard disk device like hdisk5 Best regards, Vishal (7 Replies)
Discussion started by: Vishal_dba
7 Replies

7. AIX

Need to know %age disk busy on AIX

Hi , Following alerts are coming for %busy device on a server Disk Device hdisk5 is 100% busy Please assist how do I analyse this and also how do I check the %age busy for hdisk5. Best regards, Vishal (4 Replies)
Discussion started by: Vishal_dba
4 Replies

8. Filesystems, Disks and Memory

DISK ARRAY PROTECTION SUSPENDED message displayed following disk replacement

Hello, On 4/20/2018, we performed a disk replacement on our IBM 8202 P7 server. After the disk was rebuilt, the SAS Disk Array sissas0 showed a status of degraded. However, the pdisks in the array all show a status of active. We did see a message in errpt. DISK ARRAY PROTECTION SUSPENDED. ... (1 Reply)
Discussion started by: terrya
1 Replies
IOSTAT(8)						    BSD System Manager's Manual 						 IOSTAT(8)

NAME
iostat -- report I/O statistics SYNOPSIS
iostat [-CdDITx] [-c count] [-M core] [-N system] [-w wait] [drives] DESCRIPTION
iostat displays kernel I/O statistics on terminal, disk and CPU operations. By default, iostat displays one line of statistics averaged over the machine's run time. The use of -c presents successive lines averaged over the wait period. The -I option causes iostat to print raw, unaveraged values. Only the last disk option specified (-d, -D, or -x) is used. The options are as follows: -c count Repeat the display count times. Unless the -I flag is in effect, the first display is for the time since a reboot and each sub- sequent report is for the time period since the last display. If no wait interval is specified, the default is 1 second. -C Show CPU statistics. This is enabled by default unless the -d, -D, -T, or -x flags are used. -d Show disk statistics. This is the default. Displays kilobytes per transfer, number of transfers, and megabytes transferred. Use of this flag disables display of CPU and tty statistics. -D Show alternative disk statistics. Displays kilobytes transferred, number of transfers, and time spent in transfers. Use of this flag disables the default display. -I Show the running total values, rather than an average. -M core Extract values associated with the name list from the specified core instead of the default ``/dev/mem''. -N system Extract the name list from the specified system instead of the default ``/netbsd''. -T Show tty statistics. This is enabled by default unless the -C, -d, or -D flags are used. -w wait Pause wait seconds between each display. If no repeat count is specified, the default is infinity. -x Show extended disk statistics. Each disk is displayed on a line of its own with all available statistics. This option overrides all other display options, and all disks are displayed unless specific disks are provided as arguments. Additionally, separate read and write statistics are displayed. iostat displays its information in the following format: tty tin characters read from terminals tout characters written to terminals disks Disk operations. The header of the field is the disk name and unit number. If more than four disk drives are configured in the sys- tem, iostat displays only the first four drives. To force iostat to display specific drives, their names may be supplied on the com- mand line. KB/t Kilobytes transferred per disk transfer t/s transfers per second MB/s Megabytes transferred per second The alternative display format, (selected with -D), presents the following values. KB Kilobytes transferred xfr Disk transfers time Seconds spent in disk activity cpu us % of CPU time in user mode ni % of CPU time in user mode running niced processes sy % of CPU time in system mode id % of CPU time in idle mode FILES
/netbsd Default kernel namelist. /dev/mem Default memory file. SEE ALSO
fstat(1), netstat(1), nfsstat(1), ps(1), systat(1), vmstat(1), pstat(8) The sections starting with ``Interpreting system activity'' in Installing and Operating 4.3BSD. HISTORY
iostat appeared in Version 6 AT&T UNIX. The -x option was added in NetBSD 1.4. BSD
March 1, 2003 BSD
All times are GMT -4. The time now is 08:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy