show_devs - Show information about connected disks and tapes
show_devs
This simple script dumps information about all the disks and tapes currently known by the OS.
$ show_devs Disk c0t0d0 (sd0) SEAGATE ST34371W SUN4.2G Rev 7462 Serial 9710911499 4292075520 Sectors 16 Heads 5400 RPM Disk c0t1d0 (sd1) TOSHIBA XM5701TASUN12XCD Rev 0297 Serial 01/29/97 1.84467440651196e+19 Sectors 0 Heads 0 RPM Disk c0t9d0 (sd8) SEAGATE ST15230W SUN4.2G Rev 0738 Serial 00377197 4292075520 Sectors 16 Heads 5400 RPM Disk c0t10d0 (sd9) SEAGATE ST15230W SUN4.2G Rev 0738 Serial 00393458 4292075520 Sectors 16 Heads 5400 RPM Tape rmt/1 (st2) ARCHIVE Python 02635-XXX Rev 567A Serial 01/29/97 $
Alan Burlison, <Alan.Burlison@uk.sun.com>
kstat(3K) Solaris::Kstat(3) Solaris::MapDev
To install Solaris::Kstat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Solaris::Kstat
CPAN shell
perl -MCPAN -e shell install Solaris::Kstat
For more information on module installation, please visit the detailed CPAN module installation guide.