def METHOD_NAME(self, d, day, start, end):
    f = self.glancefile(day)
    if f is None:
        return [], []
    cols = ['date',
            'cpu',
            'usr',
            'nice',
            'sys',
            'iowait',
            'steal',
            'irq',
            'soft',
            'guest',
            'idle',
            'nodename']
    lines = []
    with open(f, 'r') as file:
        for line in file:
            l = line.split()
            if len(l) != 24:
                continue
            """ hpux:            usr nice sys irq wait idle
                                 1   2    3   4   5    6
                xmlrpc: date cpu usr nice sys iowait steal irq soft guest idle nodename
            """
            ts = '%s %s' % (d, l[0])
            ts = ts.replace('\0', '')
            x = [ts,
                 'all',
                 l[1],
                 l[2],
                 l[3],
                 l[5],
                 '0',
                 l[4],
                 '0',
                 '0',
                 l[6],
                 self.nodename]
            lines.append(x)
        return cols, lines