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:
parent
dbbdb39c1f
commit
81b491a7a4
2 changed files with 31 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue