def parse_loadavg(data, prefix="sys.loadavg"):
    """Parse data from /proc/loadavg."""
    return dict(zip(
        (prefix + ".oneminute",
         prefix + ".fiveminutes",
         prefix + ".fifthteenminutes"),
        [float(x) for x in data.split()[:3]]))