Share your knowledge at the LQ Wiki.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 06-17-2009, 03:43 PM   #1
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 709

Rep: Reputation: 39
list PCI slots

Is there any command line tool to find out how many PCI slots are in SPARC machine... and how many of them are used (or how many are free) ?

Solaris 10 SPARC u6.
Old 06-17-2009, 05:36 PM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,843

Rep: Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596
You can run
and look for the available pci instances. You can use "-v" for more verbose output.
Usually a "driver not attached" means that there is no device connected to this instance, or there is no driver loaded for that device.
Take a look at prtconf manpages for more options.
Old 06-18-2009, 02:36 AM   #3
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 709

Original Poster
Rep: Reputation: 39
Not really helpful as prtconf -v shows lot of things called PCI. I need to know only this PCI which are able to plug any card inside.
Old 06-19-2009, 09:35 PM   #4
Senior Member
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,194

Rep: Reputation: 105Reputation: 105
hmm. And you don't know the kind of machine or have physical access to it? Typically, if you had say an E250, or a SunBlade100, or a T5220, you would look up the service manual pdf on and see what it has for slots and interfaces. Then you look on the backside if you don't know or didn't install it yourself and see what slots are occupied.

Of course, on my servers, if I do `prtdiag` it tells me some of that also. For example,

========================= IO Cards =========================

     Bus   Freq
Brd  Type  MHz   Slot  Name                              Model
---  ----  ----  ----  --------------------------------  ----------------------
SYS   PCI    33     0   SUNW,m64B                         ATY,GT-B              
SYS   PCI    66     3   scsi-pciclass,0100                LSI,1030
`prtdiag -v` gives me more detail on some other things, but not on the PCI slots. Oh, and that doesn't tell me anything about the empty slots. I have to know that from knowing what kind of server it is and what that kind of server has (from the service manual if I don't already know).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get the number of PCI slots Madhusudhan Linux - Software 5 07-03-2011 11:45 AM
Identifying hardware in PCI slots through OS Yohhan Linux - Hardware 1 03-31-2009 02:52 PM
Slots, it isnt PCI, AGP, PCI-E or ISA... what is it ? qwijibow Linux - Hardware 5 01-18-2005 07:00 AM
Motherboard with PCI-E slots satimis Linux - Hardware 0 07-30-2004 03:41 AM
PCI slots dunkyb Linux - Hardware 5 07-20-2003 08:20 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 07:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration