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).