How to kill all process of a user via SSH

Sometimes you may need to kill all process of a particular user. This can be done using following SSH command. [alert style=green_a] pkill -u username [/alert] 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 […]

Solution – R1soft Error Failed to connect to (hostname) after 120000 milliseconds

r1soft

Problem: R1soft server is unable to connect to Agent server, and giving following error message. [alert style=red_a] Failed to connect to (hostname) after 120000 milliseconds [/alert] Cause: The R1soft backup server IP has been blocked at Agent server firewall. If you have CSF firewall installed, then its blocked by CSF firewall. Solution: Remove R1soft server […]

How to check PHP settings of your web hosting account

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. <?php phpinfo(); ?> Now upload this phpinfo.php […]

How to increase php memory limit on shared 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. [alert style=green_a] php_value memory_limit 128M [/alert] […]

SSH command for detailed memory information of server

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. [alert style=green_a] cat /proc/meminfo [/alert] This command is very useful as it shows large amount of valuable information about the server RAM usage, like: Total usable […]

How to find CentOS version installed

You can check the centOS version installed on your dedicated server / VPS using any of the following SSH command. [alert style=green_a] cat /etc/*release* [/alert] [alert style=green_a] cat /etc/redhat-release [/alert] [alert style=green_a] cat /etc/centos-release [/alert] [vps_hosting]

How to check memory / RAM usage details through SSH

You can check your dedicated server or VPS memory details using SSH command. [alert style=green_a]free –m[/alert] 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 […]

Difference between cPanel for Dedicated Server and VPS

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 […]

How to exit from top command in SSH

Top command in SSH is used to display top process using high CPU. To exit from top, just press following key on your keyboard. [alert style=green_a] q [/alert] [dedicated_hosting]