Linux Inventory Aggregator 2.1

Linux Inventory Aggregator is designed to be a simple script for gathering hardware information.
Linux Inventory Aggregator is designed to be a simple, self-contained (as much as possible) script for gathering hardware information.

Sample Output

In the first example, a stock Mandrake system is shown with a single processor, 386MB of memory, an attached SCSI disk array, and several internal IDE drives.

[rtwomey@gamma inventory]$ ./get_inventory.pl
Statistics of machine 'gamma'
* 1 CPU: Pentium III (Coppermine) @ 863.955MHz
* Kernel: 2.6.11-6mdk #1 Tue Mar 22 16:04:32 CET 2005
* Memory total: 385668kB
* Hostname: gamma @ 192.168.1.3
* Network Interfaces:
lo: 127.0.0.1
eth0: 192.168.1.3
* Graphics card: nVidia Corporation NV15 [GeForce2 GTS/Pro] (rev a3)
* Network controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
* Network controller: Linksys NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)
* Sound card: Creative Labs SB Live! EMU10k1 (rev 07)
* SCSI card: QLogic Corp. ISP12160 Dual Channel Ultra3 SCSI Processor (rev 06)

Attached IDE disks:
* Disk hdg: size: 81964302336 bytes (81GB), model: Maxtor 4R080L0
* Disk hdf: size: 30900215808 bytes (30GB), model: Maxtor 93073U4
* Disk hde: size: 164696555520 bytes (164GB), model: HDS722516VLAT80
* Disk hdc: size: 123522416640 bytes (123GB), model: IC35L120AVV207-0
* Disk hdb: size: 120034123776 bytes (120GB), model: WDC WD1200JB-75CRA0
* Disk hda: size: 45191946240 bytes (45GB), model: IBM-DTLA-307045

Attached SCSI disks:
* Disk sda: SEAGATE ST318452LC (Channel: 00 ID: 08 Lun: 00)
* Disk sdb: SEAGATE ST318453LC (Channel: 00 ID: 09 Lun: 00)
* Disk sdc: SEAGATE ST336607LC (Channel: 01 ID: 08 Lun: 00)
* Disk sdd: SEAGATE ST336607LC (Channel: 01 ID: 09 Lun: 00)
* Disk sde: SEAGATE ST336607LC (Channel: 01 ID: 11 Lun: 00)
* Disk sdf: SEAGATE ST336607LC (Channel: 01 ID: 12 Lun: 00)
* Disk sdg: SEAGATE ST318453LC (Channel: 01 ID: 13 Lun: 00)
* Disk sdh: SEAGATE ST318452LC (Channel: 01 ID: 14 Lun: 00)

The second example illustrates a dual-processor Xeon system (note that HyperThreading causes the 2 processors to appear as 4):

[rtwomey@babbage inventory]# ./get_inventory.pl
Statistics of machine 'babbage'
* 4 CPUs: CPU1 = Intel(R) Xeon(TM) CPU 2.80GHz @ 2791.744MHz; CPU2 = Intel(R) Xeon(TM) CPU 2.80GHz @ 2791.744MHz; CPU3 = Intel(R) Xeon(TM) CPU 2.80GHz @ 2791.744MHz; CPU4 = Intel(R) Xeon(TM) CPU 2.80GHz @ 2791.744MHz
* Kernel: 2.6.9-11.ELsmp #1 SMP Fri May 20 18:26:27 EDT 2005
* Memory total: 514484kB
* Hostname: babbage @ XXX.XXX.XXX.XXX
* Network Interfaces:
lo: 127.0.0.1
eth0: XXX.XXX.XXX.XXX
* Network controller: Intel Corporation 82544GC Gigabit Ethernet Controller (LOM) (rev 02)
* SCSI card: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 07)
* SCSI card: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 07)
* Graphics card: ATI Technologies Inc Rage XL (rev 27)

Attached SCSI disks:
* Disk sda: SEAGATE ST373307LC (Channel: 00 ID: 00 Lun: 00)
* Disk sdb: SEAGATE ST39103LC (Channel: 00 ID: 01 Lun: 00)
* Disk sdc: SEAGATE ST39204LC (Channel: 00 ID: 03 Lun: 00)
* Disk sdd: SEAGATE ST39204LC (Channel: 00 ID: 04 Lun: 00)

The third example illustrates an IDE CD-RW, as well as a SATA disk that is handled via the Linux sg driver:

[rtwomey@younger inventory]# ./get_inventory.pl
Statistics of machine 'younger'
* 2 CPUs: CPU1 = Intel(R) Pentium(R) 4 CPU 3.00GHz @ 2992.825MHz; CPU2 = Intel(R) Pentium(R) 4 CPU 3.00GHz @ 2992.825MHz
* Kernel: 2.6.9-16.ELsmp #1 SMP Mon Aug 15 20:06:02 EDT 2005
* Memory total: 1033192kB
* Hostname: younger @ XXX.XXX.XXX.XXX
* Network Interfaces:
lo: 127.0.0.1
eth0: XXX.XXX.XXX.XXX
* Sound card: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
* Graphics card: ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)]
* Network controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)

Attached IDE disks:
* CD-RW drive: HL-DT-ST CD-RW/DVD-ROM GCC-4482B

Attached SCSI disks:
* ATA ST340014AS (Channel: 00 ID: 00 Lun: 00)

Requirements:

Perl module Sys::Hostname
That the lspci and uname commands be installed and in PATH
That the /proc file system is used (requires /proc/meminfo, /proc/cpuinfo, and /proc/ide)

What's New in This Release:

This update is designed to find and correlate driver information with detected hardware, including the version, author, and license.

last updated on:
December 16th, 2006, 0:35 GMT
price:
FREE!
developed by:
Ryan Twomey
license type:
The Apache License 2.0 
category:
ROOT \ System \ System Administration

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

1 Screenshot
Linux Inventory Aggregator

Add your review!

SUBMIT