procfs: fix parseStat comment and reuse line variable (#855)
parseStat reads /proc/stat, not /proc/[pid]/stat. Also use the existing line variable with strings.Fields instead of calling scanner.Text twice. Signed-off-by: zanarelli <zanarelli.dev@gmail.com>
Z
zanarelli committed
c6dc763e8255afa46932e5e01a4961b538f423dc
Parent: e81f9e1
Committed by GitHub <noreply@github.com>
on 8/28/2026, 2:52:27 PM