Pidusage can't seem to track procfiles easily when I'm running things in fast succession (the moment I start a child process, I check its usage every 100ms). When I changed the option from procfile to ps in the lib/stats.js folder for linux, it started to work.
Pidusage can't seem to track procfiles easily when I'm running things in fast succession (the moment I start a child process, I check its usage every 100ms). When I changed the option from
procfile
tops
in thelib/stats.js
folder forlinux
, it started to work.