src/linux_parser.cpp
// Function to parse the system uptime
Function to parse the system uptime
Function to parse the system uptime
long LinuxParser::UpTime() { 
  string line;
  long upTime;
  string time = getValueOfFile<string>(kUptimeFilename);
  upTime = std::stol(time);
  return upTime;
}
long LinuxParser :: UpTime ( ) { string line ; long upTime ; string time = getValueOfFile < string > ( kUptimeFilename ) ; upTime = std :: stol ( time ) ; return upTime ; }
Function to parse the system uptime
Function to parse the system uptime