Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Resolve ¶
Resolve maps a PID to its process name (from /proc/<pid>/comm) and owning username. On any failure — missing pid, unreadable comm, unstattable dir — it returns empty strings and never errors, keeping per-process GPU usage best-effort. When uid lookup fails or the environment is numeric-only, the User falls back to the decimal uid string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.