Solved

Listing Devices on Sun

Posted on 1997-03-03
1
302 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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

763 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

12 Experts available now in Live!

Get 1:1 Help Now