Sindbad~EG File Manager

Current Path : /opt/dedrads/extras/
Upload File :
Current File : //opt/dedrads/extras/killroundcube

#!/bin/bash
# Kills roundcube processes running over 4 minutes
# Vanessa V 3/4/11

for ps in $(ps ax -o pid,cputime,cmd | grep "/usr/local/cpanel/3rdparty/etc/roundcube" | grep -v grep | awk -F':' '$2 > 4 {print $1}' | awk '{print $1}')
do
        kill -9 "$ps"

done

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists