Solved

Listing Devices on Sun

Posted on 1997-03-03
1
308 Views
Last Modified: 2013-12-16
AIX has the lscfg command, and HP has the ioscan command.  Is there a similar command for Sun's SunOS and Solaris 2.5.1?
0
Comment
Question by:Tim.Yerks
1 Comment
 
LVL 2

Accepted Solution

by:
pxh earned 50 total points
ID: 1811809
Well, I don't know what the HP and AIX commands really do, but I hope this will answer your question nevertheless.

All devices are logged during startup. So you can always see either by reading /var/adm/messages what devices are there or using dmesg (which is a message buffer display).

Then there is the probe-scsi command in the boot monitor, which you may not like since you have to halt the machine (don't try
Stop-A, probe-scsi and go, it will most likely crash your system).

Last not least there exist public domain software, in particular sysinfo lists all the devices, here is an example for my Ultra 1:

        Device Information

SUNW,Ultra-1 is a "SUNW,501-2836"
    openprom is a "Open Boot PROM" device
    sbus0 is a "SBus" system bus
        SUNW,fdtwo0 (rfd0c) is a Floppy disk drive
        eeprom is a "EEPROM" device
        zs0 is a "Zilog 8530" serial communications chip
        zs1 is a "Zilog 8530" serial communications chip
        sc is a "Sun SCSI-2" SCSI controller disk controller
        espdma is a "SCSI DMA" pseudo device
            esp0 is a "Generic SCSI" SCSI controller disk controller
                c0t0d0 (sd0) is a "SUN2.1G" 2.0 GB disk drive
                c0t6d0 (sd6) is a disk drive
        ledma is a "LANCE Ethernet DMA" pseudo device
            le0 is a "AMD Lance Am7990" 10Mb/sec Ethernet network interface
        SUNW,bpp is a "Sun Bidirectional Parallel Port"
        cgsix0 is a "GX 8-bit Accelerated Color Graphics [cgsix]" frame buffer
    kbd is a "Sun Type-5 Unix" Keyboard

Probably sysinfo is your first choice.

Hope this helps,

    Peter <pxh@mpe-garching.mpg.de>

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question