Date: Tue, 26 Aug 2008 10:21:15 +0200 From: Polytropon <freebsd@edvax.de> To: Omer Faruk SEN <omer@faruk.net> Cc: freebsd-questions@freebsd.org Subject: Re: inventory software? Message-ID: <20080826102115.a70a7af0.freebsd@edvax.de> In-Reply-To: <87375200.20080826100138@faruk.net> References: <87375200.20080826100138@faruk.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Aug 2008 10:01:38 +0300, Omer Faruk SEN <omer@faruk.net> 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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080826102115.a70a7af0.freebsd>