Daniel S. Jabonete wrote:
Greeting,
First let me greet you all a very Happy
New Year!
During the last 2 days of 2005, I have
been
thinking of how to get the
information about the System (Computer).
I would like then to know may Hardware
Specification using Java. Like
the specs of my Video Card, Total
Physical Memory,
Processor Speed,
and Hard Disk Physical Capacity.
I have thought of a solution to some
couples of
problems, and
wondering if you have other solutions
with regards
to these.
Thanks a lot and Happy New Year again!
Daniel
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph
You can get the system information by string processing the results of
the grep command. I don't know much on Java though, first find a way to
issue terminal commands on Java, like for example to get the video card
specs you may process the results of "glxinfo | grep vendor". You can
also get the HDD Physical capacity by filtering the results by grep of
the "df" command. ^_^
|
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph