src/process.cpp
// Return the command that generated this process
Return the command that generated this process
Return the command that generated this process
string Process::Command() {
    string command = LinuxParser::Command(_pid);
    if (command.size() > 50) {
        return command.substr(0, 50) + "...";
    } 
    return command;
}
string Process :: Command ( ) { string command = LinuxParser :: Command ( _pid ) ; if ( command . size ( ) > 50 ) { return command . substr ( 0 , 50 ) + " " ; } return command ; }
Return the command that generated this process
Return the command that generated this process