Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use process.cpuUsage() if the pid provided matches process.pid #63

Open
simonepri opened this issue Jun 12, 2018 · 0 comments
Open

Use process.cpuUsage() if the pid provided matches process.pid #63

simonepri opened this issue Jun 12, 2018 · 0 comments

Comments

@simonepri
Copy link
Collaborator

Instead of using binaries or procfiles we can just use the value given by the node's process.cpuUsage() function if pid == process.pid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant