Linux

Riz Khan on April 24th, 2010

We can find the IP delegation for any IP using below command , i.e. using this command we can find which Nameserves are responsible for this IP and e.g. should provide the Reverse DNS for that IP : dig +trace -x 22.33.44.55 Where 22.33.44.55 is the IP for which we want to find the delegation, […]

Continue reading about How To : Find the delegation for an IP

We can check the Php versions and configurations like suphp, phpsuexec or dso on a Cpanel based servers on shell using below command : /usr/local/cpanel/bin/rebuild_phpconf –current Sample output : root@myserver [~]# /usr/local/cpanel/bin/rebuild_phpconf –current Available handlers: suphp dso cgi none DEFAULT PHP: 5 PHP4 SAPI: suphp PHP5 SAPI: suphp SUEXEC: enabled root@myserver [~]#

Continue reading about How To : Check php configuration on shell for Cpanel server

Riz Khan on April 24th, 2010

We can run certain processes like account packaging or account restores with certain cpuwatch value to make sure the server load remains in control and thus normal server operations continue to work during the cpu intensive restore or package processes. This can be achieved by using below command : /usr/local/cpanel/bin/cpuwatch 10 /scripts/restorepkg USERNAME We can […]

Continue reading about How To : Run processes with cpuwatch on CPanel