Prerequisites
Before checking server uptime, make sure you have:
- SSH access to your VPS (username:
hxroot) - Your server IP address and password
What is Uptime?
Uptime shows how long your server has been running continuously since the last reboot. High uptime indicates stability, but occasional reboots are needed for kernel updates.
Method 1: Using the uptime Command
Connect to your VPS:
ssh hxroot@YOUR_SERVER_IP -p 22Run the uptime command:
uptimeExample output:
10:30:15 up 15 days, 4:22, 2 users, load average: 0.05, 0.10, 0.15This shows:
- 10:30:15 - Current time
- up 15 days, 4:22 - Server has been running for 15 days and 4 hours
- 2 users - Number of logged-in users
- load average - System load over 1, 5, and 15 minutes
Method 2: Using the w Command
wShows uptime plus who is logged in and what they are doing.
Method 3: Check Uptime via Hostxpeed Portal
You can also see your server uptime in the Hostxpeed client area:
- Log in to your Hostxpeed Client Area at https://server.softileo.com
- Go to My Services
- Click on your VPS service
- Look for the Server Uptime card showing percentage and days
💡 The portal shows uptime as a percentage (e.g., 99.9% uptime over 15 days).
Get Uptime in Seconds (For Scripts)
cat /proc/uptimeOutput example:
1324520.15 987654.32First number is uptime in seconds since boot.
Human-Readable Uptime Only
uptime -pOutput:
up 15 days, 4 hours, 22 minutesCheck Last Reboot Time
who -bOutput:
system boot 2026-04-13 06:08Or:
last reboot | head -5Monitor Uptime Over Time
Create a simple uptime monitoring script:
#!/bin/bash
echo "Uptime Monitor - Hostxpeed VPS"
echo "=============================="
echo "Current uptime: $(uptime -p)"
echo "Last reboot: $(who -b | awk '{print $3,$4}')"
echo "Load average: $(uptime | awk -F'load average:' '{print $2}')"Why Uptime Matters
- High uptime (99.9%+) - Reliable server, good for production
- Low uptime - Frequent reboots may indicate issues
- Zero uptime after reboot - Server may have crashed or been manually restarted
✅ You can now check your server uptime anytime using simple commands or the Hostxpeed portal.