Solved

get memory and cpu status

Posted on 2012-03-20
2
529 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
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…
Suggested Courses

737 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