Posts Under Category: Tutorials

Sometimes you may need to kill all process of a particular user. This can be done using following SSH command.

pkill -u username

The above SSH command will all process by user username. Like if you want to kill all process by user ravi, change username to ravi.


You can also use killall command to kill all processes of a user.

killall -u username

Our Recommended Dedicated Server


R1soft server is unable to connect to Agent server, and giving following error message.

Failed to connect to (hostname) after 120000 milliseconds


The R1soft backup server IP has been blocked at Agent server firewall. If you have CSF firewall installed, then its blocked by CSF firewall.


Remove R1soft server IP from blocked / deny IP list. It may be temporary blocked or listed in csf.deny
Also add R1soft server IP in csf.allow as trusted IP.

Our Recommended Dedicated Server

Sometimes you need to check and see what are php settings of your web hosting account. You can create a php page using the phpinfo() function to see detailed information about the PHP settings of your hosting account. Create a page named phpinfo.php and copy paste below code.


Now upload this phpinfo.php file in public_html folder / directory of your web hosting account.
You can now see php setting of your web hosting account by simply visiting:

Relace by your website url in above url

Our Recommended Hosting

Generally PHP memory limit set by root host is 8-32 MB But sometime you may need more PHP memory. If you are on a shared hosting, you can increase php memory limit of your account by simply adding the following code in your .htaccess file located in public_html folder.

php_value memory_limit 128M

This will increase php memory limit of your account to 128 MB. If there is no .htaccess file in public_html folder, create a text file and rename it to .htaccess

Our Recommended Hosting

Use below SSH command to find detailed memory information / usage of your server / VPS. It will show you total memory, free memory, used memory, cached memory etc.

cat /proc/meminfo

This command is very useful as it shows large amount of valuable information about the server RAM usage, like:

  • Total usable RAM
  • Free memory
  • Buffer memory
  • Cached memory
  • Swap used as cache memory
  • Total cache memory that is active
  • Total cache memory that is free
  • Total amount of memory in the high region
  • The total amount of non-highmem memory.
  • The amount of free memory of the low memory region.
  • Total amount of physical swap memory.
  • Dirt: The total amount of memory waiting to be written back to the disk.
  • Writeback: The total amount of memory actively being written back to the disk.
  • etc..


Another useful command

Another very good SSH command to find detailed memory information is:

vmstat -s

Our Recommended Dedicated Server

You can check the centOS version installed on your dedicated server / VPS using any of the following SSH command.

cat /etc/*release*

cat /etc/redhat-release

cat /etc/centos-release


Our Recommended VPS Hosting

You can check your dedicated server or VPS memory details using SSH command.

free –m

This command will show total memory installed, currently used memory, currently free memory and other details.


Another useful SSH command is ps to check memory usage. This command will show all running processes with RAM usage as a percent of total RAM:

ps aux


Our Recommended VPS Hosting

Normal price of cPanel/WHM license for dedicated server is 25$ per month, while cPanel/WHM license for VPS is around 10$ per month.

So, what is difference between cPanel / WHM for dedicated server and cPanel / WHM for VPS??

Don’t be confused that VPS cPanel/WHM lacks few functionality. Both cPanel for VPS and dedicated server are functionally identical. VPS cPanel/WHM name is VPS Optimized and name of cPanel/WHM for dedicated server is Accelerated.

The only difference is that VPS Optimized is optimized for virtual environments.

Our Recommended VPS Hosting

Top command in SSH is used to display top process using high CPU.

To exit from top, just press following key on your keyboard.


Our Recommended Dedicated Server