How To Check The Hardware Of Your New Server

Once you’ve rent a new VPS server or dedicated server, the first thing you should do is check it’s hardware configuration, here’s how:

1, Check the CPU type

Run this command to check it: cat /proc/cpuinfo

If your CPU have 4 cores and 8 threads, then it should display 8 processors, for example, Intel(R) Xeon(R) CPU E3-1270 V2 @ 3.50GHz

2, Check the RAM

The command is cat /proc/meminfo

To check the usage of your memory, run free -m

3, Check the hard drives

Run df -h to display how much disk space is free and how much has been used.

4, Check the RAID state

If your hard drives use software RAID, then run this command to check it: fdisk -l

For software RAID 1, it should lists two drives with the same capacity.

For hardware RAID, you’ll need to install a third-party software to check the state of them.

5, Check the disk I/O performance

You can run the following commands to perform a test:

dd if=/dev/zero of=/tmp/output.img bs=8k count=256k


dd if=/dev/zero of=/tmp/output.img bs=64k count=16k

Finally delete them by running rm /tmp/output.img

At the same time, you can log into your server with a new session, and monitor the real time of your disk read/write speed with this command: iotop –only, to quit iotop, press “Ctrl + c”

6, Check your CPU usage

You can monitor the real time cpu usage with several commands, such as top, to quit top, press “Ctrl + c”

Another command is sar, you can type sar -u 1 to let it displays the cpu usage in real time every second, including %user, %system, %iowait, %idle, etc.

7, Check the bandwidth performance

Just download a big file from another location.

If you have two servers, you can create a big file on it instantly with this command: fallocate -l 1G bigfile.dat, then download it from your new server with the wget command, such as wget

For VPS servers, I’d like to recommend Linode and Digitalocean, both of them are famous VPS providers, and offer decent CPU and network, and both of them use enterprise level ssd drives.

I’ve used Linode for several years, it’s easy to use, and highly customizable, if you’re not familiar with Linux, don’t worry, I’m not familiar with Linux when I begin to use Linode too, it does offer a detailed tutorial that tell you how to setup a server of your own.

With this tutorial, you can set up a Website of your own easily without cPanel.

Comments are closed.