Solved

Listing Devices on Sun

Posted on 1997-03-03
1
310 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

734 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