Dear all,
i need to get some basic information for the computer that i run my programm.
i know that there is a command like for unix called "uptime" and it gets u all i need.
is there anything for windows? i found and downloaded an uptime command for windows, but it is not from MS, but that would b ok.
anyway, my java question now. i need to access this command "uptime" from inside the programm and to return a string. how can i do that?
i guess this is the same for all msdos command lines for java.
will it be the same if i run it in unix as well?
i must b a cross platform programm.
thanks, Ilias
i need to get some basic information for the computer that i run my programm.
i know that there is a command like for unix called "uptime" and it gets u all i need.
is there anything for windows? i found and downloaded an uptime command for windows, but it is not from MS, but that would b ok.
anyway, my java question now. i need to access this command "uptime" from inside the programm and to return a string. how can i do that?
i guess this is the same for all msdos command lines for java.
will it be the same if i run it in unix as well?
i must b a cross platform programm.
thanks, Ilias