gardesk/gartop / c0f88e8

Browse files

Collect parent PID (ppid) from process stat

Authored by espadonne
SHA
c0f88e8d9c04eb8dec1857a660f43cc378f2b42e
Parents
bb0bb3a
Tree
8f37d06

1 changed file

StatusFile+-
M gartop/src/collector/process.rs 1 0
gartop/src/collector/process.rsmodified
@@ -244,6 +244,7 @@ impl ProcessCollector {
244244
 
245245
         Ok(ProcessInfo {
246246
             pid,
247
+            ppid: stat.ppid,
247248
             name,
248249
             cmdline,
249250
             cpu_percent,