Yes Norm I have. What is JNI and how to use it?
Type: Posts; User: hooshdar3
Yes Norm I have. What is JNI and how to use it?
But I need to get CPU speed.
no.'queue' is defined:
the problem is in the RHS of the assignment
Hi.
What's wrong with my invokation of getSystemCpuLoad?
Here is How my code looks like:
OperatingSystemMXBean osBean = (com.sun.management.OperatingSystemMXBean)...
I don't understand what does it mean that the function and what's the use of it
Please....What does the function do exactly?I cannot understand the document completely
It says it is part of OperatingSystemMXBean interface, but I don't know how to use interfaces
--- Update ---
I managed to get itt compiled and run, by adding:
But I don't know How...
I just wanna use 'getProcessCpuTime()
I want to get CPU speed + Memory usage and maybe other administrating information
OK.I changed line42 to:
after the 2nd code snippet on:
java - get OS-level system information - Stack Overflow
But I get more errors
(I have also imported...
My terminal screen reads: (I am on ubuntu 12.04 LTS):
But I apparently have imported that. Isn't Java 'import' = C++ using?
Hi.
What is the error at line 42?
import java.io.*;
import java.util.*;
import com.sun.management.OperatingSystemMXBean;
import java.lang.management.ManagementFactory;
import...