[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hardware asset information



> Hi,
> 
> Is there a way to find total numbers of Hard disk attached or mounted
> on remote servers totaling around 200 Servers running debian Linux
> Server and also the number of RAM Chips attached to the system. Any
> utility or some gui tool from client desktop ?

  Hard drives are a bit tricky, because the system treats device-mapper
devices and physical devices similarly in many contexts.  I'd suggest
scanning /proc/partitions for the devices that look like /dev/sd<x>
(with no numerical suffix) or /dev/hd<x>, where x is a letter.


  For memory chips, you can do "dmidecode" and count up the 
populated "type 17" entries, but beware, I believe it will
also report un-populated DIMM slots.

  As for a desktop GUI tool, I have no idea.  Probably there
is, but that's not really my world.

                                 -- A.

--
Andrew Reid / reidac@bellatlantic.net


Reply to: