pidusage
pidusage copied to clipboard
Use process.cpuUsage() if the pid provided matches process.pid
Instead of using binaries or procfiles we can just use the value given by the node's process.cpuUsage()
function if pid == process.pid