HF RL Explorer

use sysinfo::{System, SystemExt, ProcessExt};

use sysinfo::{System, SystemExt, ProcessExt};: a task in LegoFlow-SWE (Harbor dataset). I need to obtain the session ID of a process to group processes by login session. The crate already exposes many process attributes via the process API (e.g., pid() , cwd() , cmd() , group id() on ProcessExt )…

The task

I need to obtain the session ID of a process to group processes by login session. The crate already exposes many process attributes via the process API (e.g., `pid()`, `cwd()`, `cmd()`, `group_id()` on `ProcessExt`), but there is no way to get the session ID.

Part of Lego-X/LegoFlow-SWE.