Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-28-2008, 12:32 AM
Member
 
Join Date: Jun 2008
Posts: 1
hidar is on a distinguished road
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...
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-30-2008, 05:12 AM
Eku Eku is offline
Senior Member
 
Join Date: May 2008
Location: Makati, Philippines
Posts: 228
Eku is on a distinguished road
you can try using System.getProperty();

I hope that helps
__________________
Mind only knows what lies near the heart, it alone sees the depth of the soul.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 06-30-2008, 09:44 AM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 299
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha
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
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 06-30-2008, 10:13 AM
Eku Eku is offline
Senior Member
 
Join Date: May 2008
Location: Makati, Philippines
Posts: 228
Eku is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 06-30-2008, 11:04 AM
Senior Member
 
Join Date: Jun 2008
Posts: 442
masijade is on a distinguished road
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 11:08 AM.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] executing java over network jmHoekst New To Java 6 06-30-2008 07:58 PM
best Java Network API to use? San_Andreas Networking 1 04-30-2008 10:42 PM
How to get URL from network machine Mir Networking 1 04-02-2008 02:08 AM
Using Applets for network connection bugger New To Java 0 11-19-2007 07:16 PM
Non Blocking Network mathias Networking 1 08-07-2007 08:49 AM


All times are GMT +3. The time now is 02:45 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org