Results 1 to 5 of 5
Thread: database+network
- 06-27-2008, 10:32 PM #1
Member
- Join Date
- Jun 2008
- Posts
- 1
- Rep Power
- 0
database+network
i want a program to get the system information of current computer and all the computers in the same network...
include name of pc ....info about RAM,VGA,HD,...etc
and then save it in a file ....
plz if possible send me the source code "especially the code of how to get the system information....".
Thanks...
- 06-30-2008, 03:12 AM #2
Senior Member
- Join Date
- May 2008
- Location
- Makati, Philippines
- Posts
- 234
- Rep Power
- 6
you can try using System.getProperty();
I hope that helpsMind only knows what lies near the heart, it alone sees the depth of the soul.
- 06-30-2008, 07:44 AM #3
yes you can try System.getProperty();
as Eku said but if u need more information than that then there is a command called "systeminfo" try running this command from java and get the results.To finish sooner, take your own time....
Nivedithaaaa
- 06-30-2008, 08:13 AM #4
Senior Member
- Join Date
- May 2008
- Location
- Makati, Philippines
- Posts
- 234
- Rep Power
- 6
Yup that is a much better approach. more complete you just need it to extract from the command line ^_^
Mind only knows what lies near the heart, it alone sees the depth of the soul.
- 06-30-2008, 09:04 AM #5
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 7
Oh, yeah, and cross platform it is, too!
Note the sarcasm.
This is not the sort of thing Java is meant for. If you insist on using Java for something like this, than be forewarned, it will need different versions (or at least different implementation classes) for the differing platforms. And writing and using a JNI interface for the varying systems would be a much better solution than doing anything "exec" related.
Edit: P.S. What the _blank_ does this have anything at all to do with databases (or even, more correctly, since this is what this forum is really about, JDBC)?Last edited by masijade; 06-30-2008 at 09:08 AM.
Similar Threads
-
[SOLVED] executing java over network
By jmHoekst in forum New To JavaReplies: 6Last Post: 06-30-2008, 05:58 PM -
best Java Network API to use?
By San_Andreas in forum NetworkingReplies: 1Last Post: 04-30-2008, 08:42 PM -
How to get URL from network machine
By Mir in forum NetworkingReplies: 1Last Post: 04-02-2008, 12:08 AM -
Using Applets for network connection
By bugger in forum New To JavaReplies: 0Last Post: 11-19-2007, 05:16 PM -
Non Blocking Network
By mathias in forum NetworkingReplies: 1Last Post: 08-07-2007, 06:49 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks