BengalCloud VPS users have several tools at their fingertips for monitoring server performance. If you want to check your VPS memory usage, you can choose to monitor resources using WHM or the command line. In this article, we’ll show you how to use both methods.
To check your VPS memory usage with WHM, log in to WHM and type “server” in the search bar. Select Server information under Server Status.

Scroll down to the Current Memory Usage section.

You can also log in to your server using a Secure Shell (SSH) and use various commands to track VPS memory usage. To find out more about accessing your server using SSH, check out this Knowledge Base article: How to connect to your server via Secure Shell (SSH).
Once you’ve logged in, try the following commands:
This quick and easy tool displays the amount of free memory available. The report includes physical and swap memory, plus buffers used by the kernel.

You can change the measurement units displayed on the screen by adding -m (megabytes) or -g (gigabytes) after the command.
Note: If you notice your Free memory is low, the server may be using available RAM for cache. This can be released when required by the system.
The vmstat command displays current virtual memory usage- processes, memory, paging, disks, and CPU information.

The data table displayed can be overwhelming at first. It’s split into six columns – procs (processes), memory, swap, io, system, and cpu. Let’s take a look at each of these columns:
The ps command reports the processes currently launched on the server.

You can add a range of parameters to the command to report on a variety of statistics:
The top (or htop) command supports real-time monitoring of server resource usage.

Use the h or ? keys, once running, to display the help menu. The m key toggles memory-related information while Shift + M sorts processes by memory usage. Press q to stop monitoring.