LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 06-17-2009, 03:43 PM   #1
czezz
Member
 
Registered: Nov 2004
Location: Poland/Warsaw
Distribution: Slackware/Solaris
Posts: 563

Rep: Reputation: 30
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
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,907

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
You can run
Code:
prtconf
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
czezz
Member
 
Registered: Nov 2004
Location: Poland/Warsaw
Distribution: Slackware/Solaris
Posts: 563

Original Poster
Rep: Reputation: 30
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
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189

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 docs.sun.com 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,

Code:
========================= 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).
 
  


Reply


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


All times are GMT -5. The time now is 03:49 AM.

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