Solved

Listing Devices on Sun

Posted on 1997-03-03
1
304 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

29 Experts available now in Live!

Get 1:1 Help Now