Y
Hacker News
new
|
ask
|
show
|
jobs
by
amiga386
188 days ago
That's also what gopsutils does, IIRC: it tries to look up process information with kernel APIs but can fall back to invoking /usr/bin/ps (which is setuid root on most systems) at the cost of being much less performant.