1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:27:44 +00:00

SystemMonitor: Add Command column to ProcessModel

This column shows full command line of a process, or empty line if an
error occures when reading it. The command is not escaped for now.
This commit is contained in:
Maciej 2022-10-29 21:49:51 +02:00 committed by Sam Atkins
parent e4db71c88b
commit f4a5cd63bb
2 changed files with 30 additions and 0 deletions

View file

@ -52,6 +52,7 @@ public:
UnixSocketWriteBytes,
IPv4SocketReadBytes,
IPv4SocketWriteBytes,
Command,
__Count
};
@ -105,6 +106,7 @@ private:
bool kernel { false };
String executable { "" };
String name { "" };
String command { "" };
uid_t uid { 0 };
String state { "" };
String user { "" };
@ -149,6 +151,7 @@ private:
this->kernel = other.kernel;
this->executable = other.executable;
this->name = other.name;
this->command = other.command;
this->uid = other.uid;
this->state = other.state;
this->user = other.user;