SATOHOST
No Result
View All Result
Thứ Ba, Tháng Một 19, 2021
  • Login
  • vps giá rẻ
  • cpanel nulled
  • bitcoin exchange script
  • Home 1
Subscribe
SATOHOST
  • vps giá rẻ
  • cpanel nulled
  • bitcoin exchange script
  • Home 1
No Result
View All Result
SATOHOST
No Result
View All Result
Home Blog

Linux List Hardware Information Command

admin by admin
Tháng Sáu 3, 2019
in Blog
5 min read
0
152
SHARES
1.9k
VIEWS
Share on FacebookShare on Twitter

How do I get detailed hardware information about my Linux server using command line options? What is the Linux command to find out hardware information?
You can use any one of the following tool to extract detailed information on the hardware configuration of the machine:

  1. dmidecode command – See a description of the system’s hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision.
  2. lshw command – list hardware command.
  3. ls* commands.
  4. /proc/ file system

Method #1 dmidecode tool

Use yum or apt-get command to install dmidecode tool. Once installed, type the following command to list hardware information:
# dmidecode
Sample outputs:

SMBIOS 2.6 present.
18 structures occupying 992 bytes.
Table at 0x0009B400.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: American Megatrends Inc.
        Version: 080016
        Release Date: 04/01/2010
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 1024 kB
        Characteristics:
                ISA is supported
                PCI is supported
                PNP is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                ESCD support is available
                Boot from CD is supported
                Selectable boot is supported
                BIOS ROM is socketed
                EDD is supported
                5.25"/1.2 MB floppy services are supported (int 13h)
                3.5"/720 kB floppy services are supported (int 13h)
                3.5"/2.88 MB floppy services are supported (int 13h)
                Print screen service is supported (int 5h)
                8042 keyboard services are supported (int 9h)
                Serial services are supported (int 14h)
                Printer services are supported (int 17h)
                CGA/mono video services are supported (int 10h)
                ACPI is supported
                USB legacy is supported
                LS-120 boot is supported
                ATAPI Zip drive boot is supported
                BIOS boot specification is supported
                Targeted content distribution is supported
        BIOS Revision: 8.16
Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: ICP / iEi
        Product Name: TS-859 PRO
        Version: V1.0
        Serial Number: To Be Filled By O.E.M.

See our article “Get Information About Your BIOS / Server Hardware From a Shell Without Opening Chassis” for more information.

Method #2: lshw too

This tool an report exact memory configuration, firmware version, main board configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or IA-64 systems and on some PowerPC machines. It currently supports DMI (x86 and IA-64 only), OpenFirmware device tree (PowerPC only), PCI/AGP, CPUID (x86), IDE/ATA/ATAPI, PCMCIA (only tested on x86), SCSI and USB.

NOTE: Install lshw either using ‘apt-get install lshw‘ (Debian and Friends) or ‘yum instal lshw‘ (Red Hat and Friends). YMMV.

List hardware

Type the lshw at a shell prompt:
# lshw | more
OR
# lshw
Sample outputs:

nas01
    description: Computer
    product: TS-859 PRO (To Be Filled By O.E.M.)
    vendor: ICP / iEi
    version: V1.0
    serial: To Be Filled By O.E.M.
    width: 64 bits
    capabilities: smbios-2.6 dmi-2.6 vsyscall32
    configuration: boot=normal family=To Be Filled By O.E.M. sku=To Be Filled By O.E.M. uuid=00020003-0004-0005-0006-000700080009
  *-core
       description: Motherboard
       product: TS-859 PRO(Q904)
       vendor: ICP / iEi
       physical id: 0
       version: V1.0
       serial: To be filled by O.E.M.
       slot: To Be Filled By O.E.M.
     *-firmware
          description: BIOS
          vendor: American Megatrends Inc.
          physical id: 0
          version: 080016
          date: 04/01/2010
          size: 64KiB
          capacity: 960KiB

To lists hardware in a compact format, type:
# lshw -short
Sample outputs:

H/W path             Device     Class      Description
======================================================
                                system     TS-859 PRO (To Be Filled By O.E.M.)
/0                              bus        TS-859 PRO(Q904)
/0/0                            memory     64KiB BIOS
/0/3                            processor  Intel(R) Atom(TM) CPU D510   @ 1.66GHz
/0/3/4                          memory     48KiB L1 cache
/0/3/5                          memory     1MiB L2 cache
/0/8                            memory     2GiB System Memory
/0/8/0                          memory     2GiB DIMM DDR2 Synchronous 667 MHz (1.5 ns)
/0/8/1                          memory     DIMM [empty]
/0/100                          bridge     Atom Processor D4xx/D5xx/N4xx/N5xx DMI Bridge
/0/100/2                        display    Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
/0/100/2.1                      display    Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
/0/100/1a                       bus        82801I (ICH9 Family) USB UHCI Controller #4
/0/100/1a.1                     bus        82801I (ICH9 Family) USB UHCI Controller #5
/0/100/1a.2                     bus        82801I (ICH9 Family) USB UHCI Controller #6
/0/100/1a.7                     bus        82801I (ICH9 Family) USB2 EHCI Controller #2
/0/100/1c                       bridge     82801I (ICH9 Family) PCI Express Port 1
/0/100/1c.1                     bridge     82801I (ICH9 Family) PCI Express Port 2
/0/100/1c.1/0        eth0       network    82574L Gigabit Network Connection
/0/100/1c.2                     bridge     82801I (ICH9 Family) PCI Express Port 3
/0/100/1c.2/0        eth1       network    82574L Gigabit Network Connection
/0/100/1c.5                     bridge     82801I (ICH9 Family) PCI Express Port 6
/0/100/1c.5/0                   storage    JMB363 SATA/IDE Controller
/0/100/1c.5/0.1                 storage    JMB363 SATA/IDE Controller
/0/100/1d                       bus        82801I (ICH9 Family) USB UHCI Controller #1
/0/100/1d.1                     bus        82801I (ICH9 Family) USB UHCI Controller #2
/0/100/1d.2                     bus        82801I (ICH9 Family) USB UHCI Controller #3
/0/100/1d.7                     bus        82801I (ICH9 Family) USB2 EHCI Controller #1
/0/100/1e                       bridge     82801 PCI Bridge
/0/100/1f                       bridge     82801IR (ICH9R) LPC Interface Controller
/0/100/1f.2          scsi1      storage    82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode]
/0/100/1f.2/0        /dev/sda   disk       2TB ST32000641AS
/0/100/1f.2/0/1      /dev/sda1  volume     40GiB Linux raid autodetect partition
/0/100/1f.2/0/2      /dev/sda2  volume     509MiB Linux raid autodetect partition
/0/100/1f.2/0/3      /dev/sda3  volume     500GiB Linux raid autodetect partition
/0/100/1f.2/0/4      /dev/sda4  volume     200GiB Linux raid autodetect partition
/0/100/1f.2/1        /dev/sdb   disk       2TB ST32000641AS
/0/100/1f.2/1/1      /dev/sdb1  volume     40GiB Linux raid autodetect partition
/0/100/1f.2/1/2      /dev/sdb2  volume     509MiB Linux raid autodetect partition
/0/100/1f.2/1/3      /dev/sdb3  volume     500GiB Linux raid autodetect partition
/0/100/1f.2/1/4      /dev/sdb4  volume     200GiB Linux raid autodetect partition
/0/100/1f.2/2        /dev/sdc   disk       2TB ST32000641AS
/0/100/1f.2/2/1      /dev/sdc1  volume     40GiB Linux raid autodetect partition
/0/100/1f.2/2/2      /dev/sdc2  volume     509MiB Linux raid autodetect partition
/0/100/1f.2/2/3      /dev/sdc3  volume     500GiB Linux raid autodetect partition
/0/100/1f.2/2/4      /dev/sdc4  volume     200GiB Linux raid autodetect partition
/0/100/1f.2/3        /dev/sdd   disk       2TB ST2000DM001-1CH1
/0/100/1f.2/3/1      /dev/sdd1  volume     40GiB Linux raid autodetect partition
/0/100/1f.2/3/2      /dev/sdd2  volume     509MiB Linux raid autodetect partition
/0/100/1f.2/3/3      /dev/sdd3  volume     500GiB Linux raid autodetect partition
/0/100/1f.2/3/4      /dev/sdd4  volume     200GiB Linux raid autodetect partition
/0/100/1f.2/0.0.0    /dev/sde   disk       2TB ST32000641AS
/0/100/1f.2/0.0.0/1  /dev/sde1  volume     40GiB Linux raid autodetect partition
/0/100/1f.2/0.0.0/2  /dev/sde2  volume     509MiB Linux raid autodetect partition
/0/100/1f.2/0.0.0/3  /dev/sde3  volume     500GiB Linux raid autodetect partition
/0/100/1f.2/0.0.0/4  /dev/sde4  volume     200GiB Linux raid autodetect partition
/0/100/1f.3                     bus        82801I (ICH9 Family) SMBus Controller
/0/1                 scsi10     storage
/0/1/0.0.0           /dev/sdf   disk       515MB SCSI Disk
/0/1/0.0.0/1         /dev/sdf1  volume     491MiB EXT3 volume

To lists all disks and storage controllers in the system, type:
# lshw -class disk -class storage
To lists all network interfaces in HTML format, enter:
# lshw -html -class network

ls* Commands

Use the lspci command list all PCI devices on Linux based systems:
# lspci
Use the lscpu command to display information on CPU architecture using Linux based systems:
# lscpu
Use the lsusb command to display information on USB devices using Linux based systems:
# lsusb
Use lsscsi command to list SCSI devices (or hosts) and their attributes on Linux:
# lsscsi
Use lsb_release and uname commands to list your distro and kernel version:
# lsb_release -a
# uname -a

Recommend readings
  • ls* Commands Are Even More Useful Than You May Have Thought
  • See man pages: uname(1)
Share on Facebook Twitter

(adsbygoogle = window.adsbygoogle || []).push({});

Posted by: SXI ADMIN

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Tags: blog
admin

admin

Related Posts

Blog

LINUX BACKUP & RESTORE FULL OS

Tháng Mười Hai 16, 2020
Blog

VPS Ram 4GB Chỉ 199k/tháng Miễn Phí Gsuite,

Tháng Tám 29, 2020
Blog

Tài Khoản Google Drive Unlimited 2020 50k – Google Drive Không Giới Hạn – Google drive unlimited 2020

Tháng Bảy 11, 2020
Bán tài khoản MOVO CASH USA ACCOUNT (VCC+VBA)
Blog

Bán tài khoản MOVO CASH USA ACCOUNT (VCC+VBA)

Tháng Bảy 11, 2020
Blog

Hướng dẫn kích hoạt bản quyền Windows Server 2012 R2 không cần crack

Tháng Sáu 10, 2020
Hướng dẫn cài đặt và cấu hình Openstack toàn tập từ A-Z
Blog

Hướng dẫn cài đặt và cấu hình Openstack toàn tập từ A-Z

Tháng Sáu 4, 2020
Hướng dẫn Tự Tạo Ứng Dụng Họp Online Phòng Học Online Miễn Phí với Jitsi
Blog

Hướng dẫn Tự Tạo Ứng Dụng Họp Online Phòng Học Online Miễn Phí với Jitsi

Tháng Tư 13, 2020
Hướng dẫn sử dụng Remote Desktop để truy cập VPS
Blog

Hướng dẫn sử dụng Remote Desktop để truy cập VPS

Tháng Tư 12, 2020
Download Kali Linux 2020.1
Blog

Download Kali Linux 2020.1

Tháng Tư 12, 2020
vps giá rẻ
  • Trending
  • Comments
  • Latest
Hướng dẫn cài DirectAdmin Nulled mới nhất 2020

Hướng dẫn cài DirectAdmin Nulled mới nhất 2020

Tháng Sáu 10, 2020
Wowza Streaming Engine 4.7.7 Crack Linux/Windows

Wowza Streaming Engine 4.7.7 Crack Linux/Windows

Tháng Mười Một 15, 2020
Nén và giải nén trong linux centos 6 centos 7 nén zip, tar.gz và tar.bz2.

Khuyến mãi vps 50k/tháng SSD 50Gb

Tháng Sáu 15, 2019
Bán tài khoản MOVO CASH USA ACCOUNT (VCC+VBA)

Bán tài khoản MOVO CASH USA ACCOUNT (VCC+VBA)

Tháng Bảy 11, 2020

Cpanel Nulled Cpanel/whm Nulled on Centos VPS/Dedicated Servers

Tháng Mười 8, 2020
Hướng dẫn cài đặt và cấu hình Openstack toàn tập từ A-Z

Hướng dẫn cài đặt và cấu hình Openstack toàn tập từ A-Z

Tháng Sáu 4, 2020

LINUX BACKUP & RESTORE FULL OS

0

Milestones & Timeline

0

The Economics of Websites

0

The Landing Page Guide

0

The Next Big Thing

0

UX Design Is Easy

0

LINUX BACKUP & RESTORE FULL OS

Tháng Mười Hai 16, 2020

VPS Ram 4GB Chỉ 199k/tháng Miễn Phí Gsuite,

Tháng Tám 29, 2020

Tài Khoản Google Drive Unlimited 2020 50k – Google Drive Không Giới Hạn – Google drive unlimited 2020

Tháng Bảy 11, 2020
Bán tài khoản MOVO CASH USA ACCOUNT (VCC+VBA)

Bán tài khoản MOVO CASH USA ACCOUNT (VCC+VBA)

Tháng Bảy 11, 2020

Hướng dẫn kích hoạt bản quyền Windows Server 2012 R2 không cần crack

Tháng Sáu 10, 2020
Hướng dẫn cài đặt và cấu hình Openstack toàn tập từ A-Z

Hướng dẫn cài đặt và cấu hình Openstack toàn tập từ A-Z

Tháng Sáu 4, 2020
  • vps giá rẻ
  • cpanel nulled
  • bitcoin exchange script
  • Home 1
Call us: 0975757375

© 2020

No Result
View All Result
  • vps giá rẻ
  • cpanel nulled
  • bitcoin exchange script
  • Home 1

© 2020

Welcome Back!

Login to your account below

Forgotten Password?

Create New Account!

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In