This started as a question but I solved it myself so I made a little tool that shows the available memory with the jAWTRobot library. It uses jAWTRobot library v1.55
I will implement it in my B4J project Athena. I hope you'll find it useful.
Hi Roycefer yea I came to think about it after I uploaded the example. Which command is for CPU workload?
Since it's a separate question I'll leave it out in the above example, but I'll bake it into my project so it will be available in a not too distant future. Thanks Roycefer your library is awesome. I can't think of anything else to use as a dev tool, memory and CPU load. If you come to think of something more drop me a line. Goodnight.
It is robot.SystemCPULoad(). You can peruse the robot.SystemXXX section of the autocomplete for other interesting stuff that might be useful to you. There is host name and IP address. There is a bunch of OS info. Number of processors.