dapurhosting.com Blog for Tech

August 18, 2015

Kill Mass Process

Filed under: Uncategorized — dh @ 9:52 am

Ambil id proses

ps -ef | grep awk | grep -v grep | awk '{print $2}'


kill -9 `ps -ef | grep CROND | grep -v grep | awk '{print $2}'`
kill -9 `ps -ef | grep Average | awk '{print $2}'`
kill -9 `ps -ef | grep pidstat | grep -v grep | awk '{print $2}'`

August 15, 2015

Mendapatkan Proses Tertentu

Filed under: Server — dh @ 5:36 am

ps aux |grep cron

August 2, 2015

Change cPanel Port

Filed under: cPanel/WHM — dh @ 6:31 am

You can change the cPanel port by editing this line in

pico /var/cpanel/cpanel.config

Cari

port=2082

Dan ganti ke port yang diinginkan lalu restart cpanel

service cpanel restart

Powered by WordPress