This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Presumably you are familiar with the java.lang.Runtime methods related to memory, right?
Is that the kind of information you want to record?
Joined: Jun 15, 2011
Actually the scenario is that the application is deployed in JBoss.JBoss will be up and running.Now I want to check the nenory usage details within two hour time interval.Now in linux what I do to take the memory usage is view the content of /proc/meminfo.Once before running the application once after running the application.Now since there are no other application will be running it almost give me a rough estimate of the memory usage of the application.In my local machine I also use VisualVM to do the same.But what I want this process to be automated and run within two hour interval both in Window and Linux environment.