View your VPS specifications and resources
Check your Linux VPS hardware specifications: CPU, RAM, disk, network, and operating system.
When you get a VPS from Baires Host, it's useful to verify from the terminal what resources are assigned to you. This guide shows you how to check CPU, RAM, disk, network, and operating system.
Operating system information
To see which distribution and version you have installed:
cat /etc/os-releaseTo see the kernel version:
uname -aQuick summary (hostname, kernel, architecture):
hostnamectlCPU — Model and core count
View detailed processor information:
lscpuThis shows:
- Architecture: processor architecture (x86_64)
- CPU(s): total number of assigned vCPUs
- Model name: processor model
- CPU MHz: clock speed
- Cache: L1, L2, L3 cache sizes
More compact alternative (core count only):
nprocTo see the CPU model in a single line:
lscpu | grep 'Model name'RAM — Total and available memory
View total, used, and available RAM:
free -hImportant columns:
- total: total RAM assigned to your VPS
- used: RAM in use
- available: RAM available for new processes
For more detailed information:
cat /proc/meminfo | head -5This shows MemTotal, MemFree, MemAvailable, Buffers, and Cached.
Disk — Size and partitions
View total and available space per partition:
df -hThe main partition is usually / (root). Look for the line with / in the "Mounted on" column.
To see physical disks and their sizes:
lsblkThis shows all block devices with their size, type, and mount point.
For more detailed partition information:
sudo fdisk -lNetwork — Interfaces and speed
View network interfaces and their IPs:
ip addr showView your VPS public IP:
curl -s ifconfig.meView all active interfaces:
ip -br link show | grep UPIf you have ethtool installed, you can check the speed of your main interface (automatically detected):
sudo ethtool eth0 2>/dev/null | grep SpeedThis command automatically detects the primary interface.
Visual summary with Fastfetch
Fastfetch is the modern replacement for neofetch (discontinued in 2024). It shows a visual summary of your entire system.
On Ubuntu 25.04+ and Debian 13+ (available in official repos):
sudo apt install fastfetch -y
fastfetchOn Ubuntu 22.04 / 24.04 (requires PPA):
sudo add-apt-repository ppa:zhangsongcui3371/fastfetch -y
sudo apt update
sudo apt install fastfetch -y
fastfetchOn Debian 11 / 12 (install from GitHub):
curl -sL https://github.com/fastfetch-cli/fastfetch/releases/latest/download/fastfetch-linux-amd64.deb -o /tmp/fastfetch.deb
sudo dpkg -i /tmp/fastfetch.deb
fastfetchIf you don't want to install anything extra, use the script in the next section.
Specifications script (no dependencies)
Create a script to see all specs at a glance, works on any distribution:
#!/bin/bash
echo "=== SYSTEM ==="
cat /etc/os-release | grep PRETTY_NAME | cut -d'"' -f2
uname -r
echo ""
echo "=== CPU ==="
echo "Cores: $(nproc)"
lscpu | grep 'Model name' | sed 's/.*: *//'
echo ""
echo "=== RAM ==="
free -h | awk '/Mem:/{print "Total: "$2" | Used: "$3" | Available: "$7}'
echo ""
echo "=== DISK ==="
df -h / | awk 'NR==2{print "Total: "$2" | Used: "$3" | Free: "$4" | Usage: "$5}'
echo ""
echo "=== NETWORK ==="
echo "Public IP: $(curl -s ifconfig.me)"
ip -4 addr show | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $NF": "$2}'Save it as ~/specs.sh and run it:
chmod +x ~/specs.sh
bash ~/specs.shQuick commands table
| Resource | Command |
|---|---|
| Operating system | cat /etc/os-release |
| Kernel | uname -r |
| CPU (cores) | nproc |
| CPU (detail) | lscpu |
| RAM | free -h |
| Disk | df -h |
| Physical disks | lsblk |
| Public IP | curl -s ifconfig.me |
| Network interfaces | ip addr show |
| Visual summary | fastfetch |
Note
The specifications you see correspond to the resources assigned to your Cloud VPS plan at Baires Host. If you need more CPU, RAM, or disk, you can scale your plan from the control panel at any time.