Solved

Getting CPU and RAM

Posted on 2006-10-22
4
213 Views
Last Modified: 2010-04-01
Hi All,

How can i get the CPU clock and RAM for the server and client machine?
I am quite new to java / jsp, any ideas for how to get those information? thanks a lot!

0
Comment
Question by:orbulat
  • 2
4 Comments
 
LVL 35

Expert Comment

by:TimYates
ID: 17788279
you can't for the client

for the server, you would have to write a library in C, C++ or similar, and then call it with JNI

Or, find a standalone console app which does it for you, invoke it with Runtime.exec() and read the text it returns...

Tim
0
 
LVL 10

Accepted Solution

by:
jaggernat earned 125 total points
ID: 17791224
0
 
LVL 35

Assisted Solution

by:TimYates
TimYates earned 125 total points
ID: 17791260
>> http://mindprod.com/jgloss/time.html

I think he meant CPU clock speed, not current time or a timer...
0
 
LVL 10

Author Comment

by:orbulat
ID: 17792789
thx a lot

yes, i think it's not ok for detecting such information from client, but just ask to see if i can get any surprises :-p

so for getting server's cpu / ram, any examples that i can follow? because i google for a while, i couldn't find sth. suitable for me
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
what is stuck threads? 3 97
JSP call a method on a session attribute which is an object 2 61
grep code 4 175
countXY challenge 28 145
Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

910 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

20 Experts available now in Live!

Get 1:1 Help Now