When a dedicated server is handed over, it is worth spending twenty minutes confirming that the hardware matches the order and that nothing is failing. It also gives you a baseline to compare against later if performance ever seems to drop. All commands below run on Ubuntu, Debian and AlmaLinux.
Install the tools first:
# Ubuntu / Debian
sudo apt update && sudo apt install -y smartmontools fio dmidecode lshw nvme-cli sysstat
# AlmaLinux / Rocky
sudo dnf install -y smartmontools fio dmidecode lshw nvme-cli sysstat
1. CPU
lscpu | grep -E 'Model name|Socket|Core|Thread|^CPU\(s\)'
Check that the model and the number of sockets match your order. A dual CPU server such as a Dual E5-2660 or Dual Gold 6138 should show Socket(s): 2. CPU(s) is the total number of threads (sockets × cores × 2 with Hyper-Threading).
A quick single-core and multi-core sanity check:
openssl speed -seconds 5 sha256 2>/dev/null | tail -1
openssl speed -seconds 5 -multi $(nproc) sha256 2>/dev/null | tail -1
The multi-core result should be roughly the single-core result multiplied by the number of physical cores. If it is much lower, something is throttling the CPU.
2. Memory
free -h
sudo dmidecode -t memory | grep -E 'Size|Speed|Type:' | grep -v 'No Module'
free -h shows the usable total (slightly less than the installed amount). dmidecode lists every module, its size and speed.
3. Disks: inventory
lsblk -o NAME,SIZE,TYPE,ROTA,MODEL
ROTA is 1 for spinning hard drives and 0 for SSD and NVMe. NVMe drives appear as nvme0n1.
4. Disks: health
SMART data shows the drive’s own view of its health:
sudo smartctl -H /dev/sda # SATA SSD or HDD
sudo smartctl -A /dev/sda | grep -Ei 'Reallocated|Pending|Wear|Power_On'
sudo nvme smart-log /dev/nvme0n1 # NVMe
What to look at:
SMART overall-health self-assessment test result: PASSED.- Reallocated_Sector_Ct and Current_Pending_Sector should be
0. - On SSDs, Wear_Leveling_Count or Percentage Used tells you how much of the rated endurance is used.
- Power_On_Hours shows the drive’s age. Data-center hardware is often in service for years; that is normal as long as the error counters are clean.
If any counter looks wrong, open a ticket with the output.
5. Disks: performance with fio
Run fio on a test file, never on a raw disk that holds data:
# 4K random read/write — what databases feel
fio --name=rand --filename=/root/fio.test --size=2G --direct=1 \
--rw=randrw --rwmixread=70 --bs=4k --iodepth=32 --numjobs=4 \
--runtime=60 --time_based --group_reporting
# Sequential read — large files, backups
fio --name=seq --filename=/root/fio.test --size=2G --direct=1 \
--rw=read --bs=1M --iodepth=8 --runtime=30 --time_based
rm /root/fio.test
Rough expectations:
| Disk type | 4K random IOPS | Sequential read |
|---|---|---|
| 7200 rpm HDD | ~100–200 | ~150–200 MB/s |
| SATA SSD | tens of thousands | ~450–550 MB/s |
| NVMe SSD | hundreds of thousands | 1.5–3+ GB/s |
These are typical ranges for the class of drive; exact results depend on the model and RAID setup.
6. Network
Check the port speed the server negotiated:
ip -br link
sudo ethtool eth0 | grep Speed # replace eth0 with your interface
Your bandwidth plan (for example 10 Mbps CN2 or 1 Gbps Global) is enforced upstream, so the port itself is usually 1 Gbps or more.
To test real throughput, download a large file from a well-connected mirror and watch the speed:
curl -o /dev/null http://speedtest.tele2.net/1GB.zip
Then test the route your users care about — from China, from your office — with the methods in How to test latency to mainland China. Remember that a 10 Mbps dedicated line tops out at about 1.2 MB/s; that is the plan, not a fault.
7. Watch it under load
sar (from sysstat) records CPU, memory, disk and network usage every ten minutes once enabled:
sudo systemctl enable --now sysstat
sar -u 1 5 # CPU, five one-second samples
sar -n DEV 1 5 # network
Save your baseline
Copy the outputs of lscpu, lsblk, the smartctl summaries and the fio results into a text file and keep it. If the server ever feels slower, run the same commands again and compare.