SCSI Generic Devices /dev/sg and iostat

SCSI Generic Devices /dev/sg and iostat

Post by Douglas Garstan » Fri, 02 Aug 2002 16:29:39



All.

Does anyone know if a Linux utility exists that can display I/O statistics
against the SCSI Generic Devices, /dev/sg* ?

The iostat utility only seems to work with /dev/sd* devices.

Thanks
Douglas

 
 
 

SCSI Generic Devices /dev/sg and iostat

Post by mjt » Sat, 03 Aug 2002 01:09:13


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message


> Does anyone know if a Linux utility exists that can display I/O statistics
> against the SCSI Generic Devices, /dev/sg* ?

> The iostat utility only seems to work with /dev/sd* devices.

have you poked around in: /proc/scsi   and/or /proc/scsi/sg ?!?!

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
 skydiver, and author: "Inside Linux",     #   when God divides the  
 "C++ HowTo", "C++ Unleashed"              #     universe by zero

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9SVqytTveLPAHcDIRAs6uAJwP2zObUBihho6Tr4T94D8g+TWv5wCfbDpj
YXASLJeaUcfkcv529Q3kX58=
=TVQ6
-----END PGP SIGNATURE-----

 
 
 

SCSI Generic Devices /dev/sg and iostat

Post by Douglas Garsta » Sat, 03 Aug 2002 08:06:43



> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> NotDashEscaped: You need GnuPG to verify this message


> > Does anyone know if a Linux utility exists that can display I/O statistics
> > against the SCSI Generic Devices, /dev/sg* ?

> > The iostat utility only seems to work with /dev/sd* devices.

> have you poked around in: /proc/scsi   and/or /proc/scsi/sg ?!?!

Yes... I couldn't find anything useful in there. :(

Doug.

 
 
 

SCSI Generic Devices /dev/sg and iostat

Post by mjt » Sat, 03 Aug 2002 11:35:02


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message




>> > Does anyone know if a Linux utility exists that can display I/O statistics
>> > against the SCSI Generic Devices, /dev/sg* ?

>> > The iostat utility only seems to work with /dev/sd* devices.

>> have you poked around in: /proc/scsi   and/or /proc/scsi/sg ?!?!

> Yes... I couldn't find anything useful in there. :(

you 'cat'd some of the files in those directories, right?  such as:


host    chan    id      lun     type    opens   qdepth  busy    online

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
 skydiver, and author: "Inside Linux",     #   when God divides the  
 "C++ HowTo", "C++ Unleashed"              #     universe by zero

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9Se92tTveLPAHcDIRAhmhAJ48O+cIHJv9MR4d4eOEwqBcuic+VwCeJPox
4pFeqGFx8ronUyvtyRR1poE=
=MasL
-----END PGP SIGNATURE-----