Get system process info. How?

Hello all!

Is there any ability to get directly in Erlang system process info (NOT Erlang process). Need to find kind of alternative to procstat(1) in FreeBSD, but directly in Erlang. Is there any? Beside of Erlang running some processes that could be getting a lot of memory, need to check it out.

1 Like

Read directly /proc/PID/statm or /proc/PID/status, where PID is the application PID ?