Skip to main content

Bare-Metal Servers - General FAQ

Allnodes Team avatar
Written by Allnodes Team
Updated yesterday

General Checkup

How to check cpu model

lscpu

How to chech frequency on which your cores operate

cat /proc/cpuinfo | grep MHz

sudo cpupower monitor

How to check motherboard model

sudo dmidecode -t baseboard

How to check memory speed

sudo dmidecode | grep "Configured Memory Speed"

How to check speed of nvme drives

sudo lspci -vv | grep -B 75 nvme | grep LnkSta:

Should be 16GT/s for Gen4 drives and 32GT/s for Gen5. If less, report to us!

How to check temperature sensors

sudo ipmitool sensor

How to check serial numbers of all drives

  1. Install smartmontools:

    apt-get -y install smartmontools

  2. Run this script to display the serial numbers of all NVMe disks installed in the system:

    cat << \EOF | bash
    for disk in $(lsblk -J -o NAME,MODEL,UUID | jq -rc '.blockdevices | map(select(.name | startswith("nvme"))) | .[] | .name'); do
    serial=$(smartctl -a "/dev/${disk}" | grep Serial | cut -d: -f2- | tr -d ' ')
    if [[ -z $serial ]]; then
    serial="N/A"
    fi
    printf "Disk: %-12s Serial: %s\n" "${disk}" "${serial}"
    done
    EOF


Performance mode for CPU

How to check current mode

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

How to enable performance mode

apt-get -y install cpufrequtils
cat << \EOF > /etc/default/cpufrequtils
ENABLE="true"
GOVERNOR="performance"
MAX_SPEED="0"
MIN_SPEED="0"
EOF
systemctl restart cpufrequtils.service​

Have Questions?
Send us an email at [email protected]

Did this answer your question?