Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

One-click script to check your Linux server's hardware details

2»

Comments

  • @satorik said:
    Your script has some issue processing "Installed RAM Sticks", please fix that, thank you.

    Literally just fixed that 1 minute ago. I'm assuming you are running Debian - could you try again now?

  • @dedipromo said:

    @satorik said:
    Your script has some issue processing "Installed RAM Sticks", please fix that, thank you.

    Literally just fixed that 1 minute ago. I'm assuming you are running Debian - could you try again now?

    LGTM, thanks!

    Thanked by 1dedipromo
  • Minor style suggestion: the power-on hours are displayed differently for the HDD and SSD (12345 vs. 12,345). You can consider using the same format (with or without comma separators) to make it more consistent and easier to read.

    Thanked by 1dedipromo
  • Great!

    Thanked by 1dedipromo
  • ==============================================
                 Hardware Info Summary
    ==============================================
    
    System Info
    --------------------------------------------------
    System         : Supermicro X9SCL/X9SCM
    BIOS           : American Megatrends Inc. 2.3a (01/06/2021)
    Motherboard    : Supermicro X9SCL/X9SCM 1.11A
    --------------------------------------------------
    
    CPU Info
    --------------------------------------------------
    Model          : Intel(R) Xeon(R) CPU E3-1240 V2 @ 3.40GHz
    BIOS Intel(R) Xeon(R) CPU E3-1240 V2 @ 3.40GHz Fill By OEM CPU @ 3.4GHz
    Topology       : 1 Socket(s), 4 Cores, 8 Threads
    --------------------------------------------------
    
    Memory Info
    --------------------------------------------------
    RAM            : 31Gi Total
    
    Installed RAM Sticks:
    ------------------------------------------------------------------------------------------------------
    | Size    | Type      | Speed         | Configured Speed    | Manufacturer   | Part Number          |
    ------------------------------------------------------------------------------------------------------
    | 8 GB    | DDR3      | 1333 MT/s     | 1333 MT/s           | Hynix/Hyundai  | HMT41GU7MFR8C-H9     |
    | 8 GB    | DDR3      | 1333 MT/s     | 1333 MT/s           | Hynix/Hyundai  | HMT41GU7MFR8C-H9     |
    | 8 GB    | DDR3      | 1333 MT/s     | 1333 MT/s           | Hynix/Hyundai  | HMT41GU7MFR8C-H9     |
    | 8 GB    | DDR3      | 1333 MT/s     | 1333 MT/s           | Hynix/Hyundai  | HMT41GU7MFR8C-H9     |
    ------------------------------------------------------------------------------------------------------
    
    Disk Info
    -------------------------------------------------------------------------------------------------------------------------------------------------
    | Name     | Size     | Model                          | Power On Hours  | Data Read (GB)  | Data Written (GB) | Realloc Sect | SMART Status    |
    -------------------------------------------------------------------------------------------------------------------------------------------------
    | sda      | 931.5G   | Samsung SSD 850 EVO 1TB        | 53704           | N/A             | 58955.95          | N/A          | OK              |
    | sdb      | 931.5G   | Samsung SSD 860 EVO 1TB        | 42622           | N/A             | 96210.36          | N/A          | OK              |
    -------------------------------------------------------------------------------------------------------------------------------------------------
    
    RAID Info
    --------------------------------------------------
    Software RAID  : raid0 (Personalities : [raid0] [linear] [multipath] [raid1] [raid6] [raid5] [raid4] [raid10] )
    --------------------------------------------------
    
    Network Info
    --------------------------------------------------
    enp0s25        : network 82579LM Gigabit Network Connection (Lewisville)
    eno1           : network 82574L Gigabit Network Connection (1000Mb/s)
    --------------------------------------------------
    

    little $120/year colocrossing dedi

    Thanked by 2dedipromo ZachNuyek
  • edited July 2025

    Tested on deb 12 proxmox again and it got ram stick info now, Nice work.

    My cheap Colo yearly dedi

    Hardware Info Summary:
    ==============================================
                 Hardware Info Summary
    ==============================================
    
    System Info
    --------------------------------------------------
    System         : Supermicro X9SCL/X9SCM
    BIOS           : American Megatrends Inc. 2.3a (01/06/2021)
    Motherboard    : Supermicro X9SCL/X9SCM 1.11A
    --------------------------------------------------
    
    CPU Info
    --------------------------------------------------
    Model          : Intel(R) Xeon(R) CPU E31270 @ 3.40GHz
    BIOS Intel(R) Xeon(R) CPU E31270 @ 3.40GHz Fill By OEM CPU @ 3.4GHz
    Topology       : 1 Socket(s), 4 Cores, 8 Threads
    --------------------------------------------------
    
    Memory Info
    --------------------------------------------------
    RAM            : 31Gi Total
    
    Installed RAM Sticks:
    ------------------------------------------------------------------------------------------------------
    | Size    | Type      | Speed         | Configured Speed    | Manufacturer   | Part Number          |
    ------------------------------------------------------------------------------------------------------
    | 8 GB    | DDR3      | 1333 MT/s     | 1333 MT/s           | 8634           | SUPERTALENT02        |
    | 8 GB    | DDR3      | 1333 MT/s     | 1333 MT/s           | 8634           | SUPERTALENT02        |
    | 8 GB    | DDR3      | 1333 MT/s     | 1333 MT/s           | 8634           | SUPERTALENT02        |
    | 8 GB    | DDR3      | 1333 MT/s     | 1333 MT/s           | 8634           | SUPERTALENT02        |
    ------------------------------------------------------------------------------------------------------
    
    Disk Info
    -------------------------------------------------------------------------------------------------------------------------------------------------
    | Name     | Size     | Model                          | Power On Hours  | Data Read (GB)  | Data Written (GB) | Realloc Sect | SMART Status    |
    -------------------------------------------------------------------------------------------------------------------------------------------------
    | sda      | 931.5G   | WDC WD1003FBYX-01Y7B1          | 76643           | N/A             | N/A               | 0            | OK              |
    -------------------------------------------------------------------------------------------------------------------------------------------------
    
    RAID Info
    --------------------------------------------------
    No RAID configuration detected.
    --------------------------------------------------
    
    Network Info
    --------------------------------------------------
    enp0s25        : network 82579LM Gigabit Network Connection (Lewisville)
    eno1           : network 82574L Gigabit Network Connection (1000Mb/s)
    --------------------------------------------------
    
    Hardware info collection finished!
    

    Also I think my well used RMS-200 has definitely been doing it's job

    | nvme0n1 | 8G | RMS-200 | 48,223 | 49229223.31 | 1375922954.66 | N/A | OK |

    Thanked by 1dedipromo
  • VoidVoid Member

    Cool. Can we include this in yabs

    Thanked by 2dedipromo NaXal
  • jolo22jolo22 Member

    @dedipromo said:
    I'm glad to share a one-click bash script that quickly shows the details of all the hardware of your Linux servers.

    https://github.com/Har-Kuun/ServerHardware

    Specifically, it checks the make, model, part number, configurations, status of multiple components of your servers.

    • CPU
    • RAM sticks
    • Disk drives
    • RAID controllers
    • NIC
    • Motherboard
    • PSU
    • Fans
    • Other hardwares

    The script work on Ubuntu, Debian, and some CentOS-based systems. And apparently, this will work on dedicated servers only, not VPS. To use it, you can run any one of the commands as below.

    wget -qO- https://raw.githubusercontent.com/Har-Kuun/ServerHardware/refs/heads/main/serverhw.sh | bash
    

    or

    curl -Lso- https://raw.githubusercontent.com/Har-Kuun/ServerHardware/refs/heads/main/serverhw.sh | bash
    

    or

    wget -qO- ts.st/hw | bash
    

    or

    curl -Lso- ts.st/hw | bash
    

    At the end of the run, it will output a short summary, as well as more detailed hardware info stored in a .txt file on your local drive. Below is an example summary output of an OVH server.

    ==============================================
                 Hardware Info Summary
    ==============================================
    
    System Info
    --------------------------------------------------
    System         : Supermicro Super Server
    BIOS           : American Megatrends Inc. 3.4.V1 (03/09/2023)
    Motherboard    : Supermicro X10SRi-F 1.01B
    --------------------------------------------------
    
    CPU Info
    --------------------------------------------------
    Model          : Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz
    BIOS Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz  CPU @ 3.6GHz
    Topology       : 1 Socket(s), 6 Cores, 12 Threads
    --------------------------------------------------
    
    Memory Info
    --------------------------------------------------
    RAM            : 125Gi Total
    
    Installed RAM Sticks:
    ------------------------------------------------------------------------------------------------------
    | Size    | Type      | Speed         | Configured Speed    | Manufacturer   | Part Number          |
    ------------------------------------------------------------------------------------------------------
    | 32 GB   | DDR4      | 2667 MT/s     | 2400 MT/s           | Micron         | 36ASF4G72PZ-2G6E1    |
    | 32 GB   | DDR4      | 2667 MT/s     | 2400 MT/s           | Micron         | 36ASF4G72PZ-2G6E1    |
    | 32 GB   | DDR4      | 2667 MT/s     | 2400 MT/s           | Micron         | 36ASF4G72PZ-2G6E1    |
    | 32 GB   | DDR4      | 2667 MT/s     | 2400 MT/s           | Micron         | 36ASF4G72PZ-2G6E1    |
    ------------------------------------------------------------------------------------------------------
    
    Disk Info
    ------------------------------------------------------------------------------------------------------------------------
    | Name     | Size     | Model                          | Power On Hours  | Data Read (GB)  | Data Written (GB) |
    ------------------------------------------------------------------------------------------------------------------------
    | nvme0n1  |  1.7T    | SAMSUNG MZQL21T9HCJR-00A07     | 405             | 155.28          | 779.18          |
    | nvme1n1  |  1.7T    | SAMSUNG MZQL21T9HCJR-00A07     | 405             | 152.30          | 779.33          |
    ------------------------------------------------------------------------------------------------------------------------
    
    RAID Info
    --------------------------------------------------
    Software RAID  : raid1 (Personalities : [raid1] [raid0] [raid6] [raid5] [raid4] [raid10] )
    --------------------------------------------------
    
    Network Info
    --------------------------------------------------
    eno1           : network I350 Gigabit Network Connection (1000Mb/s)
    eno2           : network I350 Gigabit Network Connection
    --------------------------------------------------
    

    This script was adapted and translated from another script written by Yuri-NagaSaki. Shoutout to the smart guy who wrote the original script - it was nicely written and structured. I kept most of the detection logic, whereas updated the summary and output logic and did the translation work.

    Hopefully this script can be helpful for the many dedicated server customers here in LET. Cheers :smile:

    Nicee!

Sign In or Register to comment.