text: #include "process.h"
  
  #include <unistd.h>
  
  #include <cctype>
  #include <sstream>
  #include <string>
  #include <vector>
  #include "linux_parser.h"
  using std::string;
  using std::to_string;
  using std::vector;
  
  Process::Process(int pid, float total_jiffies):pid_(pid){
    const long active_jiffies = LinuxParser::ActiveJiffies(pid_);
    cpu_utilization_ = active_jiffies * 1.0 / total_jiffies;
  }
  
  // TODO: Return this process's ID
  int Process::Pid() { return pid_; }
  
  // TODO: Return this process's CPU utilization
  float Process::CpuUtilization() { return cpu_utilization_; }
  
  // TODO: Return the command that generated this process
  string Process::Command() { return LinuxParser::Command(pid_); }
  
  // TODO: Return this process's memory utilization
  string Process::Ram() { return to_string((int) LinuxParser::Ram(pid_)); }
  
  // TODO: Return the user (name) that generated this process
  string Process::User() { return LinuxParser::User(pid_); }
  
  // TODO: Return the age of this process (in seconds)
  long int Process::UpTime() { return LinuxParser::UpTime(pid_); }
  
  // TODO: Overload the "less than" comparison operator for Process objects
  // REMOVE: [[maybe_unused]] once you define the function
  bool Process::operator<(Process const& a [[maybe_unused]]) const {
    return true;
  }