Hostxpeed
Login Get Started →
Server Management

How to Check CPU Temperature

3 min read
24 views
Jun 13, 2026

Prerequisites

Note: Most VPS do NOT expose CPU temperature sensors. This guide is for dedicated servers or VPS with hardware access.

Before checking temperature, make sure you have:

  • SSH access to your VPS
  • Root or sudo privileges
  • Physical hardware that exposes temperature sensors

Method 1: Using lm-sensors

Connect to your VPS:

ssh hxroot@YOUR_SERVER_IP -p 22
sudo apt install lm-sensors -y

Detect sensors:

sudo sensors-detect --auto

Run sensors:

sensors

Method 2: Checking CPU Temperature from /sys

cat /sys/class/thermal/thermal_zone*/temp 2>/dev/null | awk '{print $1/1000}'

Method 3: Using hddtemp for Disk Temperature

sudo apt install hddtemp -y
sudo hddtemp /dev/vda

💡 If no temperature output appears, your VPS does not expose temperature sensors. Contact Hostxpeed support if you suspect overheating.

✅ Temperature check completed (if supported).

Was this article helpful?