performance of a VPS:
- use the command below to check the top process on a server:
top
- pay attention to the VPS specifications that you use both from the amount of ram, core / cpu. for ram can be checked free ram or used ram by way of:
free -m
for cores can be checked by:
nproc
- Of course, we understand that if the ram is almost full, the VPS performance will decrease or be rather heavy, so consider upgrading the RAM.
- the number of cores on your VPS can mean how many cores can work simultaneously. for example, the core is 4, it means that the load average of a VPS should not be more than 4.0, because if it is more than 4.0, it means that your VPS is working quite heavily above its capabilities so that there are processes that queue / lagging. how to check how many load processes are running on the VPS is to type "top" and see the load average section in the upper right corner. here's an example:
1.02 3.05 2.25
The above illustrates that the VPS is currently running by utilizing 1.02 cores, for the past 5 minutes around 3.05 and the past 15 minutes around 2.25.
dengan load average seperti itu artinya VPS 4 core anda masi mampu untuk menglakukan proses-proses yang sedang berjalan saat ini.