Hi,
All that is needed for pidusage to support NetBSD is to map it to the 'proc' handler. NetBSD has a procfs that is fully compatible with the Linux format, including /proc/uptime and /proc/<pid>/stat with the same format that Linux has. So it all just works!
It'd be great to get this merged please so that other tools using pidusage (such as pm2) can get CPU and memory info on NetBSD.
Hi, All that is needed for pidusage to support NetBSD is to map it to the 'proc' handler. NetBSD has a procfs that is fully compatible with the Linux format, including
/proc/uptime
and/proc/<pid>/stat
with the same format that Linux has. So it all just works!It'd be great to get this merged please so that other tools using
pidusage
(such aspm2
) can get CPU and memory info on NetBSD.Cheers,
Timshel