Hardware Asset Information

Paul Sladen ubuntu at paul.sladen.org
Tue Oct 4 00:26:48 UTC 2011


On Tue, 4 Oct 2011, Kaushal Shriyan wrote:

Unix philosphy is about breaking tasks down into small tasks:

> Is there a way to find total numbers of Hard disk attached

  ls -d1 /sys/block/sd?/ | wc -l

> or mounted

  grep -c /dev/sd /proc/mounts

> on remote servers

  ssh user at remote-server ...

> totaling around 200 Servers

  for s in `cat servers.list` ; do ssh ... ; done

> running Ubuntu Linux Server 10.04 and 8.04

Indeed.

> and also the number of RAM

  free -m
  grep MemTotal /proc/meminfo

> Chips attached to the system.

  sudo apt-get install i2c-tools
  sudo modprobe eeprom
  sudo decode-dimms

> Any utility or some gui tool from client desktop ?

Sounds like you want to be running Landscape:

  http://www.canonical.com/enterprise-services/ubuntu-advantage/landscape

	-Paul





More information about the ubuntu-users mailing list