src/linux_parser.cpp
string LinuxParser::Ram(int pid) { 
  long ram ;
  ram =  ReadPidStatusFile(pid, "VmSize")/1024 ;
  return to_string(ram) ;
}
//Read and return the memory used by a process
// Memory is calculated in Mb
Read and return the memory used by a process
Memory is calculated in Mb
Read and return the memory used by a process Memory is calculated in Mb
string LinuxParser::Ram(int pid) { 
  long ram ;
  ram =  ReadPidStatusFile(pid, "VmSize")/1024 ;
  return to_string(ram) ;
}
string LinuxParser :: Ram ( int pid ) { long ram ; ram = ReadPidStatusFile ( pid , " " ) / 1024 ; return to_string ( ram ) ; }
Read and return the memory used by a process
Memory is calculated in Mb
Read and return the memory used by a process Memory is calculated in Mb