From owner-freebsd-questions@FreeBSD.ORG Sat Sep 29 15:16:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 118221065670 for ; Sat, 29 Sep 2012 15:16:56 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id B437F8FC12 for ; Sat, 29 Sep 2012 15:16:54 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q8TFHm9x093003; Sat, 29 Sep 2012 10:17:48 -0500 (CDT) Date: Sat, 29 Sep 2012 10:17:48 -0500 (CDT) From: Robert Bonomi Message-Id: <201209291517.q8TFHm9x093003@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, saeedeh.motlagh@gmail.com In-Reply-To: Cc: Subject: Re: find slot number and number of ports for each card X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2012 15:16:56 -0000 > Date: Sat, 29 Sep 2012 18:07:56 +0330 > From: saeedeh motlagh > Subject: find slot number and number of ports for each card > > hello all > > i want to have statistics about my hardware specially the type of card > that are installed on my system, the number of ports that each card > has and the slot number which cards are installed. i can find the > slot number by tracing the output of dmesg but it's time consuming > job. more over, i don't know how to find the number of ports that each > card has. > > please let me know if there is any command to give these information > to me directly. No, there is no such command that will provide "everything" about every card in every slot in any system. Unless you have an EISA (obselete) motherboard, that is. In which case, the EISA config utility WILL provide all that information. The only authoritative way -- that works in _all_ cases, is to open up the box and =look=. And then dig up the specs on the boards you find present. However, you can find a lot of things by running 'pciconf', *IF* your machine has PCI slots.