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

is the CPU and memory usage for JVM or the who OS? #14

Closed
lichengwu opened this issue Mar 25, 2012 · 2 comments
Closed

is the CPU and memory usage for JVM or the who OS? #14

lichengwu opened this issue Mar 25, 2012 · 2 comments

Comments

@lichengwu
Copy link

No description provided.

@jezhumble
Copy link
Owner

The CPU and memory usage is for the OS. If you want to get the CPU and memory usage for the JVM, get the process table using processTable() and then find the entry for the currently running process - you can get your process id with currentPid()

@lichengwu
Copy link
Author

great!

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

No branches or pull requests

2 participants