• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 610
  • Last Modified:

Client machine RAM, CPU detection in Javascript

Hi ,

Can we detect client machiene's RAM (total) and CPU (clock speed or processor type) using javascript? If, can you post the javascript code for that?

Regards,
Bimal
0
bimal_linux
Asked:
bimal_linux
  • 5
  • 4
  • 3
  • +1
2 Solutions
 
SnowFlakeCommented:
AFAIK, No you can't.

the clientcaps behavior mentioned above can retrieve other types of information such as
screen size, available size and color depth, connection type (lan or modem),
cpu class (x86/alpha) and platform
some language settings and cookie and java availability status.

maybe you can do the ones you need via some activeX.
0
 
Michel PlungjanIT ExpertCommented:
Yes, as I said. not any closer using JS
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
bimal_linuxAuthor Commented:
mmm.. So no way through JS?

What about Activex controls? Any help available??

Bimal
0
 
Michel PlungjanIT ExpertCommented:
try this: http://www.winsoft.sk/xcpuspd.htm I have no idea what it does since I block activeX so it is your own chioce to click...
0
 
infoseeker99Commented:
Javascript itself is restricted to interacting solely with the browser it is running in.  In order to interact with the system outside of the confines of the browser, you would have to go to an ActiveX component as has been suggested or you would have to load a Java applet that would have to ask the user for permission to execute locally to gather that kind of information. Odds, are your efforts are going to be quite hampered since any of these solutions are quite intrusive on the user and users computer system.
0
 
SnowFlakeCommented:
another interesting idea could be to perform your own benchmark for cpu availability,
and I write availability and not speed as it could be affected by other running programs.
you could try something like getting the current time
looping while ding some small math thingy
take the time again and then see how much time it took to perform the entire thing
Now if you could compare results from different CPU's you might be able to guess
what CPU speed you are dealing with.

No security issues at all, but less accurate.

SnowFlake.
0
 
bimal_linuxAuthor Commented:
SnowFlake,

That is a nice idea. Getting CPU cycle using javascript.

Is there any Activex Available to check the RAM? I am bad in Windows technology. Is there any code available?

Regards,
Bimal
0
 
SnowFlakeCommented:
I am not aware of such, you can either googlize for it or maybe ask for help in the C++ TA.

SnowFlake
0
 
bimal_linuxAuthor Commented:
sorry for opening this for a long time.

Bimal
0
 
Michel PlungjanIT ExpertCommented:
1. Why a C grade - you got your answer
2. Why not split points

Michel
0
 
bimal_linuxAuthor Commented:
That was not the perfect answer. However,I have no problem in giving A.
BTW, how to split points? I didnt see any option. plz guide

Bimal
0
 
Michel PlungjanIT ExpertCommented:
Thanks :)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 5
  • 4
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now