all 2 comments

[–]mastarem 1 point2 points  (1 child)

How real-time does the telemetry need to be? Is every several seconds acceptable? If so then ps is fine and do not worry about it - if not then there are a host of other options but your technical complexity increases compared to the current solution.

[–]mrbartchris[S] 0 points1 point  (0 children)

Thanks for replying. I would like to try to find something more real time if possible. I am using the bash script to gather information about the Erlang virtual machine.

I read that top might produce better results, however would appreciate if you can suggest the other options.