code: def read_stat():
      
      data = []
      with open("/proc/stat", "rb") as stat_file:
          for line in stat_file:
              cpu_stat = line.split()
              if cpu_stat[0][:3] != b"cpu":
                  break
              # First cpu line is aggregation of following lines, skip it
              if len(cpu_stat[0]) == 3:
                  continue
              data.append(
                  {
                      "times": {
                          "user": int(cpu_stat[1]),
                          "nice": int(cpu_stat[2]),
                          "sys": int(cpu_stat[3]),
                          "idle": int(cpu_stat[4]),
                          "irq": int(cpu_stat[6]),
                      }
                  }
              )
      return data
docs: Returns the system stat information.
  
      :returns: The system stat information.
      :rtype: list