Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

get memory and cpu status

Posted on 2012-03-20
2
Medium Priority
?
534 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 1000 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 1000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
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 scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses

610 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