java - How do I profile applications on Windows and Linux to get CPU and RAM usuage values? -


i busy doing research , need comparison between 2 methods of system monitoring. have compare total memory of overhead , computation required when queries made external software package (i.e 1 did not create running on same system) overhead in software package (written in java) when including libraries , making queries.

does have suggestions on how can approach task achieve these goals? there general profiling solutions available "plug" system monitor , retrieve system statistics way? or pointer in right direction more helpful right stuck :/

thanks in advance.

you can use visualvm (for sure in windows, don't know linux) (or) can write simple program using jmx api.


Comments