Solved

get memory and cpu status

Posted on 2012-03-20
2
526 Views
Last Modified: 2012-06-21
I want to develop a monitoring tool .
The tool will show the memory and cpu status , process list in linux.

is there an API in java, no matter commercial or not

Thanks in advance
0
Comment
Question by:gamjaradio
2 Comments
 
LVL 26

Accepted Solution

by:
ksivananth earned 250 total points
ID: 37745836
JMX and Jconsole is the easiest one, http://java.sun.com/developer/technicalArticles/J2SE/jmx.html

and there are lots of profiling tools( free/opensourced/prop ) you can search in the net
0
 
LVL 47

Assisted Solution

by:for_yan
for_yan earned 250 total points
ID: 37745837
You recently asked the same question:
http://www.experts-exchange.com/Programming/Languages/Java/Q_27641653.html

You can detemine memory status; you cannot have process list unless you go to operating systsem command and use Runtime.getRuntime().exec("ps ...") for Unix system and correspomding comamnd for windows
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupSumClump challenge 9 115
Where to store the queries for modification of table 4 61
eclipse argument 14 60
sql import cannot be resolved jsp 3 17
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

805 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question