def getCPUuse(self):
hz = os.sysconf('<STR_LIT>')<EOL>info_dict = {}<EOL>try:<EOL><INDENT>fp = open(cpustatFile, '<STR_LIT:r>')<EOL>line = fp.readline()<EOL>fp.close()<EOL><DEDENT>except:<EOL><INDENT>raise IOError('<STR_LIT>' % cpustatFile)<EOL><DEDENT>headers = ['<STR_LIT:user>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>']<EOL>arr = line.split()<EOL>if len(arr) > <NUM_LIT:1> and arr[<NUM_LIT:0>] == '<STR_LIT>':<EOL><INDENT>return dict(zip(headers[<NUM_LIT:0>:len(arr)], [(float(t) / hz) for t in arr[<NUM_LIT:1>:]]))<EOL><DEDENT>return info_dict<EOL>
Return cpu time utilization in seconds.

        @return: Dictionary of stats.