Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 1998 11:38:36 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        "Kenneth D. Merry" <ken@plutotech.com>
Cc:        aron@cs.rice.edu (Mohit Aron), freebsd-hackers@FreeBSD.ORG
Subject:   Re: scsi disk queue
Message-ID:  <199811121938.LAA28728@apollo.backplane.com>
References:   <199811120550.WAA21345@panzer.plutotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
    Neat!  I hope you don't mind if I modify the program some.

	http://www.backplane.com/FreeBSD/dds.c

    For ongoing reporting of read activity, write activity (avg per second),
    busy percentage, and request backlog.

    The busy percentage is especially useful.

% ./dds da1 da2 da3 10
nntp1:/news> ./dds da1 da2 da3 10
da1                     da2                     da3               
  625k   142k  75%/0      644k   155k  70%/2      652k   137k  72%/1 
  763k  78.6k  77%/2      792k  96.9k  80%/3      840k  86.4k  80%/2 
  696k   153k  77%/3      693k   172k  83%/2      702k   163k  80%/4 
  752k   117k  80%/2      802k   144k  85%/0      839k   104k  88%/2 
  609k   458k  85%/0      660k   467k  87%/2      622k   449k  87%/2 
  601k   354k  77%/9      583k   365k  79%/2      597k   341k  79%/6 
  666k   240k  86%/10     665k   227k  79%/4      680k   240k  88%/7 
  652k   298k  82%/2      580k   326k  80%/4      619k   290k  79%/3 
  606k   190k  73%/15     609k   184k  70%/19     652k   188k  82%/16
  664k   381k  83%/15     640k   360k  83%/18     656k   383k  76%/16
  589k   365k  80%/3      655k   368k  82%/2      601k   343k  90%/1 
  793k   267k  86%/3      792k   268k  82%/3      818k   286k  90%/0 


:If you're running 3.0 or a CAM version of -current or -stable, you can find
:out the number of outstanding transactions for any device registered with
:the devstat(9) subsystem.
:
:Download the following program:
:
:ftp://ftp.kdm.org/pub/FreeBSD/cam/ds.c
:
:It dumps out the devstat entry for each device.  The devstat entry includes
:a busy count, which is the number of outstanding transactions queued to the
:drive.
:
:Ken
:-- 
:Kenneth Merry
:ken@plutotech.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811121938.LAA28728>