Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Getting CPU and RAM

Posted on 2006-10-22
4
Medium Priority
?
221 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
[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
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 500 total points
ID: 17791224
0
 
LVL 35

Assisted Solution

by:TimYates
TimYates earned 500 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

Hire Technology Freelancers with Gigs

Work with 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

If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
What we learned in Webroot's webinar on multi-vector protection.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

719 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