public function kill_process($pid)
    {

        if (!is_numeric($pid)) return false;
        $pid = (int)$pid;
        $sql = "KILL $pid";

        return $this->db->query($sql);
    }
public function kill_process($pid)
    {

        if (!is_numeric($pid)) return false;
        $pid = (int)$pid;
        $sql = "KILL $pid";

        return $this->db->query($sql);
    }
public function kill_process ( $ pid ) { if ( ! is_numeric ( $ pid ) ) return false ; $ pid = ( int ) $ pid ; $ sql = "KILL $pid" ; return $ this -> db -> query ( $ sql ) ; }
kill a specific process

@param int $pid

@return boolean
kill a specific process