  | | | Subject: Network Interface Card | Subject: Network Interface Card 2007-05-10 - By Helmut Wirth
Back d.qureshi@(protected) schrieb: > > I have a HP Proliant DL740 G1 server running RHEL AS 3 update 4. > > Is there a command to display how many Network Interface Cards there inside the server without > physically looking at the server? > > -- > Taroon-list mailing list > Taroon-list@(protected) > https://www.redhat.com/mailman/listinfo/taroon-list
If you mean configured interfaces, a simple "ifconfig" shows you all, even together with virtual interfaces, or alternatively you can see the configured physical NICs with "cat /proc/net/dev".
If you mean "total of physically installed interfaces, which may not be configured", the answer is more complicated: the initialization of autodetected NICs will show up in the kernel bootstrap output (you could get it with "dmesg"). On most bus systems you can even get NICs which are not autoconfigured through an attached hardware scan (e.g. "lspci" shows you all attached hard- ware on a pci bus). On older bus systems (notably ISA with old non-pnp NICs) there is often no way to detect them when they are not configured.
Hope that helps, -- Helmut Wirth
-- Taroon-list mailing list Taroon-list@(protected) https://www.redhat.com/mailman/listinfo/taroon-list
|
|
 |