I'm not sure how you can implement it with your code, but to get that sort of information, you should use the Runtime class (Runtime (Java Platform SE 6)). If you are doing it over the network, you...