Knowledgebase

How can I check the system hardware information and the resources usage?

As far as resources usage is concerned, there 4 methods that come to mind.

  1. Client Area > My products and services > Details. On the details page of your VPS there is Virtual Server Control menu with graphics, including memory and disk metrics.
  2. SolusVM panel > Manage. On a new page Bandwidth and Disk usage will appear. Disk statistics can be a bit outdated, since the data synchronization is not instant.
  3. Metrics or a similar menu in your web-hosting panel, as cPanel or Webuzo. In most cases this data is not complete too.
  4. SSH. This is the most preferred way to check resources, which provides the most accurate data.  Connect to your VPS via SSH and type commands given below.

If your programs on a VPS lack RAM, you can upgrade to another package or buy only additional RAM. This option is available for OpenVZ and XEN VPS servers.

Here is a list of the most common commands and /proc files by which it is possible to determine system hardware information and resources usage.

CPU information:

CPU information can be found at /proc/cpuinfo file:
cat /proc/cpuinfo

CPU usage information can be viewed via top command
top<. - the percentage of CPU idle time (it can be considered as free CPU time) is specified in raw “Cpu(s):”, value “id”.

Disk information:

Disk partition information (not available for OpenVZ VPSs):
fdisk -l

Disk space usage:
df -h

Inode information (not available for OpenVZ VPSs):
df –i

File space usage (not available for OpenVZ VPSs):
du –h /root – displays /root directory size and all the subdirectories
du –sh /root – displays /root directory size

Check the bad blocks (not available for OpenVZ VPSs):
badblocks -v /dev/hda1 – where hda1 is the disk device name.

Test the reading speed (hdparm is not included in all Linux distributions by default so additional installation may be required) (not available for OpenVZ VPSs):
hdparm -tT /dev/hda1 – where hda1 is the disk device name.

Memory information:

Amount of free and used memory:
free –m

Detailed memory usage report:
cat /proc/meminfo

Just another tool:
vmstat

Network interfaces:

Detailed list of network interfaces:
ifconfig

Looking for VPS hosting in the USA? Check our VPS offers with different virtualization types.
Also Read
PHP modes (Views: 873)

Language:

Quick Navigation

Client Login

Email

Password

Remember Me

Search