def cpuload():

    # Pull in the information from WMIC
    cmd = list2cmdline(['wmic', 'cpu'])
    info = __salt__['cmd.run'](cmd).split('\r\n')

    # Find the location of LoadPercentage
    column = info[0].index('LoadPercentage')

    # Get the end of the number.
    end = info[1].index(' ', column+1)

    # Return pull it out of the informatin and cast it to an int
    return int(info[1][column:end])
Parse package manifest.
dataset/ETHPy150Open saltstack/salt/salt/modules/win_status.py/cpuload--crossover with--dataset/ETHPy150Open ros-infrastructure/catkin_pkg/src/catkin_pkg/package.py/parse_package