def pull_pid(t_cmd):
    """Function will attempt to pull PID from CMD output, if output is not present it'll return -1"""
    t_data = t_cmd.split()
    try:
        return t_data[7]
    except IndexError:
        return -1