If I understanbd correctly, you want the system performance information that you can get from tools like top on Linux and Task Manager on Windows. There is no built-in API to do this. But some googling found the following link which might help:
http://stackoverflow.com/questions/47177/how-to-monitor-the-computers-cpu-memory-and-disk-usage-in-java