From: Douglas Gilbert <dougg@torque.net>
To: linux-scsi@vger.kernel.org
Subject: lsscsi-0.07 + scsi host information?
Date: Fri, 14 Feb 2003 09:43:58 +1100 [thread overview]
Message-ID: <3E4C1FAE.2090904@torque.net> (raw)
lsscsi is a utility the uses sysfs in kernels >= lk 2.5.50
to list information about all SCSI devices (including devices
that use the SCSI stack such as USB mass storage devices).
Both a compact format (default), one line per device, and
a "classic" format (like the output of 'cat /proc/scsi/scsi')
are supported.
Version 0.07 is available at
http://www.torque.net/scsi/lsscsi.html
In lk 2.5.60 the prefix to the "queue_depth" sysfs name
was removed.
I would like lsscsi to list SCSI hosts (portals?) but there
doesn't seem to be enough normalized sysfs information
available to do that. Is the "/sys/class/scsi-host" sub-tree
the place to be looking? Of the scsi hosts I have, only
scsi_debug (thanks to work by Mike Anderson) puts an
entry in that sub-tree. I would also like to have normalized
information from the scsi_host structure available (similar
to what Patrick Mansfield provided for scsi devices).
Doug Gilbert
next reply other threads:[~2003-02-13 22:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-13 22:43 Douglas Gilbert [this message]
2003-02-14 16:49 ` lsscsi-0.07 + scsi host information? Patrick Mansfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E4C1FAE.2090904@torque.net \
--to=dougg@torque.net \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox