From owner-freebsd-questions@FreeBSD.ORG Tue Aug 26 08:21:18 2008 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 B6BFB106564A for ; Tue, 26 Aug 2008 08:21:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 7E80A8FC28 for ; Tue, 26 Aug 2008 08:21:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-82-108.dynamic.qsc.de [92.195.82.108]) by mx01.qsc.de (Postfix) with ESMTP id 921CC50EE4; Tue, 26 Aug 2008 10:21:16 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id m7Q8LF46012092; Tue, 26 Aug 2008 10:21:15 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 26 Aug 2008 10:21:15 +0200 From: Polytropon To: Omer Faruk SEN Message-Id: <20080826102115.a70a7af0.freebsd@edvax.de> In-Reply-To: <87375200.20080826100138@faruk.net> References: <87375200.20080826100138@faruk.net> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: inventory software? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2008 08:21:18 -0000 On Tue, 26 Aug 2008 10:01:38 +0300, Omer Faruk SEN wrote: > > > Hello, > > Is there a inventory software in ports tree? What i want is to learn all hardware details (ram , cpu , mainboard etc. serial numbers and amount of them). I need a simple program that does this but couldn't able to find in ports tree As long as the machines you want to list are FreeBSD, UNIX or at least Linux, I'd suggest the following procedure (which will look old-fashioned, but it includes the chance to learn and practice): 1. run dmesg on the machines 2. grep / awk for the data fields you're interested in 3. create a CSV database 4. add the information that can't be obtained automatically (e. g. serial numers) 5. convert the database into any format you like (e. g. XML) or just run on the CSV datasets for summarizing / counting informations Yes, ugly suggestion, I know. But I think implementing this will need less time than searching for a program to do it for you based on trial & error. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...