1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:38:11 +00:00

SystemMonitor: Show PPID, PGID, SID

With this information, it's a bit easier to intuit the current 'process tree'.
If you're reading this, can I convince you to implement a nice process tree for
SystemMonitor? It could be via PPID (unbounded depth), or SID+PGID (depth 3).
Or something else entirely :D
This commit is contained in:
Ben Wiederhake 2020-08-09 21:44:40 +02:00 committed by Andreas Kling
parent dbbdb39c1f
commit 81b491a7a4
2 changed files with 31 additions and 1 deletions

View file

@ -57,6 +57,9 @@ public:
User,
PID,
TID,
PPID,
PGID,
SID,
Virtual,
Physical,
DirtyPrivate,
@ -107,8 +110,11 @@ private:
ProcessModel();
struct ThreadState {
int tid;
pid_t tid;
pid_t pid;
pid_t ppid;
pid_t pgid;
pid_t sid;
unsigned times_scheduled;
String name;
String state;