10 Linux Commands to Check VPS Specifications
☰ In this chapter, you will learn
- 10 Linux Commands to see server specifications.
After logging into the VPS server, you may want to view various specifications such as processors and their cores, SSD space, installed RAM, and other input-output details.
It is always a wise decision to regularly check server specifications so that you can install additional hardware or software before reaching the limit.
In this article, we will guide you on how to view server specifications.
1. Check CPU Details
cat /proc/cpuinfo
This command enables you to view a variety of CPU information, including details such as CPU cores, CPU family, model name, processing speed, and various other specifications.
2. Check RAM Details
free -h
This command will provide detailed information about RAM capacities, used and available memory, as well as various other memory-related details.
3. Check Disk
df -h
This command will retrieve comprehensive HDD/SSD details for the VPS, including partition sizes, used memory, and other relevant information.
4. Check Linux kernel version
uname -a
This command will display the PC name along with the kernel version.
5. Check Operating System Details
Ubuntu:
lsb_release -a
CentOS:
cat /etc/redhat-release
The above command returns information about the operating system.
6. Check installed memory blocks
lsblk
This command will list all available memory blocks, including installed HDDs, SSDs, and other block storage devices.
7. Lists PCI buses and connected devices
lspci
This command will list all PCI buses and the devices connected to your system.
8. Lists USB buses and connected devices.
lsusb
This command will list all USB buses and the devices connected to your system.
9. Display detailed info about installed hardware
lshw
This command will display detailed information about the hardware installed on your system, including CPU, memory, storage devices, and other peripherals.
10. Display detailed info about installed hardware (More readable form)
hwinfo
This command, similar to the `lshw` command, provides even more detailed information about the installed hardware on your system.
Conclusion
In this article, we have included some useful Linux commands that allow you to view various VPS specifications and configurations.