text: #include <unistd.h>
  #include <cstddef>
  #include <set>
  #include <string>
  #include <vector>
  
  #include "process.h"
  #include "processor.h"
  #include "system.h"
  #include "format.h"
  #include "linux_parser.h"
  #include "process.h"
  #include "processor.h"
  
  using std::set;
  using std::size_t;
  using std::string;
  using std::vector;
  /*You need to complete the mentioned TODOs in order to satisfy the rubric criteria "The student will be able to extract and display basic data about the system."*/
  
  // Return the system's CPU
  Processor& System::Cpu() { 
      return cpu_; 
      }
  
  // Return a container composed of the system's processes
  vector<Process>& System::Processes() {
      //Get the pids from the LinuxParser 
      vector<int> pids = LinuxParser::Pids();
  
      //Now put them into a vector<Process>
      for(int i=0;i<(int)pids.size();i++){
          Process newProcess(pids.at(i));
          processes_.push_back(newProcess);
      }
  
      return processes_;
      }
  
  // Return the system's kernel identifier (string)
  std::string System::Kernel() { return LinuxParser::Kernel(); }
  
  // Return the system's memory utilization
  float System::MemoryUtilization() { return LinuxParser::MemoryUtilization(); }
  
  // Return the operating system name
  std::string System::OperatingSystem() { return LinuxParser::OperatingSystem(); }
  
  // Return the number of processes actively running on the system
  int System::RunningProcesses() { return LinuxParser::RunningProcesses(); }
  
  // Return the total number of processes on the system
  int System::TotalProcesses() { return LinuxParser::TotalProcesses(); }
  
  // Return the number of seconds since the system started running
  long int System::UpTime() { return LinuxParser::UpTime(); }
  