Re: [opensuse] Slots ?



On Thu, Oct 30, 2008 at 4:50 PM, John Andersen <jsamyth@xxxxxxxxx> wrote:
Is there any way to tell how many slots are in a machine
and how many are occupied when you only have remote access
to it via ssh (as root)?

I am not sure there is a way to automatically determine how many free
slots are in a system, but usually the command 'dmidecode' (look at
the first 50 lines or so) will give you either the model of the
prebuilt system or the model of the mainboard. With that you can use
the 'lspci' command to determine all the PCI / PCI express devices and
figure out which are onboard (e.g. built in Ethernet and sound
controllers) and which are add-on cards.

Keep in mind sometimes there can be a 1U system with 4+ PCI slots on
the mainboard, but only 1 or 2 might be usable (unless you want to
hack up the case and run it with the cover off)
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages