Solved

get memory and cpu status

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
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…

758 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

18 Experts available now in Live!

Get 1:1 Help Now