HardwareSpecsResources6 min read

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:

bash
cat /etc/os-release

To see the kernel version:

bash
uname -a

Quick summary (hostname, kernel, architecture):

bash
hostnamectl

CPU — Model and core count

View detailed processor information:

bash
lscpu

This 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):

bash
nproc

To see the CPU model in a single line:

bash
lscpu | grep 'Model name'

RAM — Total and available memory

View total, used, and available RAM:

bash
free -h

Important columns:

  • total: total RAM assigned to your VPS
  • used: RAM in use
  • available: RAM available for new processes

For more detailed information:

bash
cat /proc/meminfo | head -5

This shows MemTotal, MemFree, MemAvailable, Buffers, and Cached.

Disk — Size and partitions

View total and available space per partition:

bash
df -h

The main partition is usually / (root). Look for the line with / in the "Mounted on" column.

To see physical disks and their sizes:

bash
lsblk

This shows all block devices with their size, type, and mount point.

For more detailed partition information:

bash
sudo fdisk -l

Network — Interfaces and speed

View network interfaces and their IPs:

bash
ip addr show

View your VPS public IP:

bash
curl -s ifconfig.me

View all active interfaces:

bash
ip -br link show | grep UP

If you have ethtool installed, you can check the speed of your main interface (automatically detected):

bash
sudo ethtool eth0 2>/dev/null | grep Speed

This 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):

bash
sudo apt install fastfetch -y
fastfetch

On Ubuntu 22.04 / 24.04 (requires PPA):

bash
sudo add-apt-repository ppa:zhangsongcui3371/fastfetch -y
sudo apt update
sudo apt install fastfetch -y
fastfetch

On Debian 11 / 12 (install from GitHub):

bash
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
fastfetch

If 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:

bash
#!/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:

bash
chmod +x ~/specs.sh
bash ~/specs.sh

Quick commands table

ResourceCommand
Operating systemcat /etc/os-release
Kerneluname -r
CPU (cores)nproc
CPU (detail)lscpu
RAMfree -h
Diskdf -h
Physical diskslsblk
Public IPcurl -s ifconfig.me
Network interfacesip addr show
Visual summaryfastfetch

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.


Was this guide helpful?