Solved

Hardware inspect on web

Posted on 2011-09-29
5
199 Views
Last Modified: 2012-05-12
Is it possible to make a Java program with web start or php program that reads out all the hardware specs?

Like:

What OS do I have?
What processor do I have?
Total amount of memory?
Total amount of free memory?
Software installed: (like mysql server, exchange server, ...)
Hard disks:
    Total diskspace
    Free diskspace
    amount of rpm

So that when you visit a website and you click on, what are my specs, it reads out the information.
0
Comment
Question by:Silencer001
  • 3
  • 2
5 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 36814478
Easiest way would be to use Web Start yes. It would have to be a signed app. You could Runtime.exec something like hwinfo
0
 

Author Comment

by:Silencer001
ID: 36814715
But then hwinfo needs to be installed on the computer who is running it?

Can't if be that it could be like http://www.whatismyip.com/? So that no hwinfo needs to be installed.
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 36814828
>>Can't if be that it could be like http://www.whatismyip.com/?

That's not a good analogy ;)

If you want to avoid installing stuff (and i don't blame you) then the following alternatives might help

a. use the hardware info options that are common to Linux without special apps. This would either be the /proc filesystem or common utilities that use /proc in most cases
b. try to get a statically-linked version of hwinfo so that no installation is needed
0
 

Author Closing Comment

by:Silencer001
ID: 36980609
Not 100% what i asked
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 36980736
>>Not 100% what i asked

In what way?

What did you do in the end btw?
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

831 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