Solved

get memory and cpu status

Posted on 2012-03-20
2
525 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hibernate Not Rolling Back When something fails in a stored procedure 2 50
simple java question 3 44
varialbe initialization 11 30
java stored proc example 9 18
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
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…

930 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now