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
Solved

Hardware inspect on web

Posted on 2011-09-29
5
200 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

837 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