# lshw
เมื่อรันคำสั่งด้านบนแล้วจะได้เอาท์พุตแบบนี้
hotspot
description: Desktop Computer
product: PROD00000000
vendor: Hewlett-Packard
width: 32 bits
capabilities: smbios-2.4 dmi-2.4 smp-1.4 smp
configuration: boot=normal chassis=desktop cpus=1
*-core
description: Motherboard
product: 0A20
vendor: Foxconn
physical id: 0
*-firmware
description: BIOS
vendor: Phoenix Technologies, LTD
physical id: 0
version: GD01GVY.103 (03/06/2006)
size: 128KiB
capacity: 448KiB
capabilities: pci pnp apm upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb ls120boot zipboot biosbootspecification netboot
*-cpu
description: CPU
product: Intel(R) Pentium(R) 4 CPU 3.00GHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: 15.4.3
serial: 0000-0F43-0000-0000-0000-0000
slot: Socket 775
size: 3GHz
capacity: 3800MHz
width: 64 bits
clock: 800MHz
capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx x86-64 constant_tsc pebs bts pni dtes64 monitor ds_cpl est cid cx16 xtpr
configuration: id=0
*-cache:0
description: L1 cache
physical id: a
slot: Internal Cache
size: 16KiB
capacity: 16KiB
capabilities: synchronous internal write-back
*-cache:1
description: L2 cache
physical id: b
slot: External Cache
size: 2MiB
capacity: 2MiB
capabilities: synchronous external write-back
*-logicalcpu:0
description: Logical CPU
physical id: 0.1
width: 64 bits
capabilities: logical
*-logicalcpu:1
description: Logical CPU
physical id: 0.2
width: 64 bits
capabilities: logical
*-memory
description: System Memory
physical id: 1d
slot: System board or motherboard
size: 512MiB
*-bank:0
description: DIMM [empty]
product: None
vendor: None
physical id: 0
serial: None
slot: A0
*-bank:1
description: DIMM DDR2 Synchronous 533 MHz (1.9 ns)
product: None
vendor: AD00000000000000
physical id: 1
serial: None
slot: A1
size: 512MiB
width: 64 bits
clock: 533MHz (1.9ns)
*-bank:2
description: DIMM [empty]
product: None
vendor: None
physical id: 2
serial: None
slot: A2
*-bank:3
description: DIMM [empty]
product: None
vendor: None
physical id: 3
serial: None
slot: A3
*-pci
description: Host bridge
product: 82915G/P/GV/GL/PL/910GL Memory Controller Hub
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 0e
width: 32 bits
clock: 33MHz
configuration: driver=agpgart-intel
resources: irq:0
*-display
description: VGA compatible controller
product: 82915G/GV/910GL Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 0e
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:16 memory:fdf00000-fdf7ffff ioport:ff00(size=8) memory:d0000000-dfffffff(prefetchable) memory:fdf80000-fdfbffff
*-usb:0
description: USB Controller
product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 04
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:23 ioport:fe00(size=32)
*-usb:1
description: USB Controller
product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2
vendor: Intel Corporation
physical id: 1d.1
bus info: pci@0000:00:1d.1
version: 04
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:19 ioport:fd00(size=32)
*-usb:2
description: USB Controller
product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3
vendor: Intel Corporation
physical id: 1d.2
bus info: pci@0000:00:1d.2
version: 04
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:18 ioport:fc00(size=32)
*-usb:3
description: USB Controller
product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4
vendor: Intel Corporation
physical id: 1d.3
bus info: pci@0000:00:1d.3
version: 04
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:16 ioport:fb00(size=32)
*-usb:4
description: USB Controller
product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller
vendor: Intel Corporation
physical id: 1d.7
bus info: pci@0000:00:1d.7
version: 04
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: driver=ehci_hcd latency=0
resources: irq:23 memory:fdfff000-fdfff3ff
*-pci
description: PCI bridge
product: 82801 PCI Bridge
vendor: Intel Corporation
physical id: 1e
bus info: pci@0000:00:1e.0
version: d4
width: 32 bits
clock: 33MHz
capabilities: pci bus_master cap_list
resources: ioport:d000(size=4096) memory:fde00000-fdefffff ioport:fdd00000(size=1048576)
*-network:0
description: Ethernet interface
product: SMC2-1211TX
vendor: Accton Technology Corporation
physical id: 4
bus info: pci@0000:01:04.0
logical name: eth1
version: 10
serial: 00:e0:29:46:77:1b
size: 10MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=32 link=no maxlatency=64 mingnt=32 multicast=yes port=MII speed=10MB/s
resources: irq:16 ioport:dc00(size=256) memory:fdeff000-fdeff0ff
*-network:1
description: Ethernet interface
product: 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller
vendor: Intel Corporation
physical id: 8
bus info: pci@0000:01:08.0
logical name: eth0
version: 04
serial: 00:18:71:69:bb:46
size: 100MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e100 driverversion=3.5.24-k2-NAPI duplex=full firmware=N/A ip=192.168.10.107 latency=32 link=yes maxlatency=56 mingnt=8 multicast=yes port=MII speed=100MB/s
resources: irq:20 memory:fdefe000-fdefefff ioport:df00(size=64)
*-multimedia
description: Multimedia audio controller
product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller
vendor: Intel Corporation
physical id: 1e.2
bus info: pci@0000:00:1e.2
version: 04
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: driver=Intel ICH latency=0
resources: irq:17 ioport:f000(size=256) ioport:fa00(size=64) memory:fdffe000-fdffe1ff memory:fdffd000-fdffd0ff
*-isa
description: ISA bridge
product: 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 04
width: 32 bits
clock: 33MHz
capabilities: isa bus_master
configuration: latency=0
*-ide:0
description: IDE interface
product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller
vendor: Intel Corporation
physical id: 1f.1
bus info: pci@0000:00:1f.1
logical name: scsi0
version: 04
width: 32 bits
clock: 33MHz
capabilities: ide bus_master emulated
configuration: driver=ata_piix latency=0
resources: irq:18 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:f800(size=16)
*-cdrom
description: SCSI CD-ROM
product: CD-ROM XM-6202BH
vendor: TOSHIBA
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/cdrom
logical name: /dev/scd0
logical name: /dev/sr0
version: 1112
capabilities: removable audio
configuration: ansiversion=5 status=nodisc
*-ide:1
description: IDE interface
product: 82801FB/FW (ICH6/ICH6W) SATA Controller
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
logical name: scsi3
version: 04
width: 32 bits
clock: 66MHz
capabilities: ide pm bus_master cap_list emulated
configuration: driver=ata_piix latency=0
resources: irq:19 ioport:f700(size=8) ioport:f600(size=4) ioport:f500(size=8) ioport:f400(size=4) ioport:f300(size=16)
*-disk
description: ATA Disk
product: Maxtor 6V080E0
vendor: Maxtor
physical id: 0.0.0
bus info: scsi@3:0.0.0
logical name: /dev/sda
version: VA11
serial: V20L8XVG
size: 74GiB (80GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=000bbe34
*-volume:0
description: EXT4 volume
vendor: Linux
physical id: 1
bus info: scsi@3:0.0.0,1
logical name: /dev/sda1
logical name: /
version: 1.0
serial: 5daa0427-eb30-4e36-9ca2-ddcfd2cd50d0
size: 73GiB
capacity: 73GiB
capabilities: primary bootable journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
configuration: created=1970-01-01 07:01:42 filesystem=ext4 lastmountpoint=/W������D����ހc"ޔ�a�5 !�M#0���a�>�!�X���X����D�����aְ�a��" modified=2011-12-18 15:24:14 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,barrier=1,data=ordered mounted=2012-01-09 11:58:48 state=mounted
*-volume:1
description: Extended partition
physical id: 2
bus info: scsi@3:0.0.0,2
logical name: /dev/sda2
size: 1427MiB
capacity: 1427MiB
capabilities: primary extended partitioned partitioned:extended
*-logicalvolume
description: Linux swap / Solaris partition
physical id: 5
logical name: /dev/sda5
capacity: 1427MiB
capabilities: nofs
*-serial UNCLAIMED
description: SMBus
product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 04
width: 32 bits
clock: 33MHz
configuration: latency=0
resources: ioport:500(size=32)
จากข้อมูลข้างบนเราสามารถดูได้รายละเอียดคร่าวๆ ดังนี้ เครื่องนี้มี
CPU Pentium 4 == 3.0GHz
Cache L1 ==> 16 KB
Cache L2 ==> 2 MB
Memory 512 MB
เพียงเท่านี้เราก็ดูข้อมูล Hardware ได้เหมือนใน Window OS แล้วนะครับ