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:
parent
e4db71c88b
commit
f4a5cd63bb
2 changed files with 30 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue