Solved

Getting CPU and RAM

Posted on 2006-10-22
4
214 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Troubleshooting common task sequence error codes
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

776 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