System information
Show architecture of machine
bash> arch i686
Show used kernel version(1)
bash> uname -r 2.6.9-67.0.15.ELsmp
bash> cat /proc/version Linux version 2.6.9-67.0.15.ELsmp (mockbuild@builder10.centos.org) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)) #1 SMP Thu May 8 10:52:19 EDT 2008
Show hardware system components(SMBIOS / DMI)
bash> dmidecode # dmidecode 2.2 SMBIOS 2.3 present. 39 structures occupying 2026 bytes. Table at 0×000F6024. Handle 0×0000 DMI type 0, 19 bytes. BIOS Information Vendor: IBM Version: -[BWE130AUS-1.11]- Release Date: 10/25/2007 Address: 0xF0F40 Runtime Size: 61632 bytes ROM Size: 4096 kB [...]
Perform test reading on a hard-disk
bash> hdparm -tT /dev/sda /dev/sda: Timing cached reads: 3704 MB in 2.00 seconds = 1852.28 MB/sec Timing buffered disk reads: 172 MB in 3.40 seconds = 50.52 MB/sec
Show information CPU info
bash> cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Xeon(TM) CPU 3.80GHz stepping : 10 cpu MHz : 3801.313 cache size : 2048 KB [...]
Verify memory use
bash> cat /proc/meminfo MemTotal: 4150156 kB MemFree: 548712 kB Buffers: 21072 kB Cached: 2650428 kB SwapCached: 0 kB [...]
Show file(s) swap
bash> cat /proc/swaps Filename Type Size Used Priority /dev/sda2 partition 5944040 0 -1
Show mounted file system(s)
bash> cat /proc/mounts rootfs / rootfs rw 0 0 /proc /proc proc rw,nodiratime 0 0 none /dev tmpfs rw 0 0 /dev/root / ext3 rw 0 0 none /dev tmpfs rw 0 0 /proc /proc proc rw,nodiratime 0 0 [...]
Display PCI devices
bash> lspci -tv -[0000:00]-+-00.0 Intel Corporation E7520 Memory Controller Hub +-00.1 Intel Corporation E7525/E7520 Error Reporting Registers +-03.0-[0000:04-06]–+-00.0-[0000:06]–+-01.0 QLogic Corp. ISP2312-based 2Gb Fibre Channel to PCI-X HBA | | \-01.1 QLogic Corp. ISP2312-based 2Gb Fibre Channel to PCI-X HBA | \-00.2-[0000:05]–+-01.0 Broadcom Corporation NetXtreme BCM5704S Gigabit Ethernet | \-01.1 Broadcom Corporation NetXtreme BCM5704S Gigabit Ethernet [...]
Show USB devices
bash> lsusb -tv Bus# 2 `-Dev# 1 Vendor 0×0000 Product 0×0000 `-Dev# 2 Vendor 0×04b4 Product 0×5203 |-Dev# 3 Vendor 0×0644 Product 0×0000 `-Dev# 4 Vendor 0×04b4 Product 0×6830 Bus# 1 `-Dev# 1 Vendor 0×0000 Product 0×0000 [...]