: hi everyone... : my java application needs presnt cpu usage.... : : like i can get from task manager... : but i want from command line.... : : i can call external application for this ... : but tell me how to go for it...? : : please reply... 1000 thanks in advance : : One way is to use JNI to call the NdisGetCurrentProcessorCounts() function. See http://msdn2.microsoft.com/en-us/library/bb314462.aspx for more info on that API function.
Comments
: my java application needs presnt cpu usage....
:
: like i can get from task manager...
: but i want from command line....
:
: i can call external application for this ...
: but tell me how to go for it...?
:
: please reply... 1000 thanks in advance
:
:
One way is to use JNI to call the NdisGetCurrentProcessorCounts() function. See http://msdn2.microsoft.com/en-us/library/bb314462.aspx for more info on that API function.