#system-info
./gradlew distZip
download binary zip from http://search.maven.org
/path/to/system-info-0.0.1/bin/launch
-h option will print help message
gradlew or gradlew.bat uploadArchives
/path/to/system-info-0.0.1/bin/launch -s
/path/to/system-info-0.0.1/bin/launch -s -p 10999
RmiSystemInfoServer s = new RmiSystemInfoServer();
System.setProperty("java.rmi.server.hostname", "localhost");
s.startRmiServer();
RmiSystemInfoClient sic = new RmiSystemInfoClient("localhost");
System.out.println(sic.getCpuInfo().getCpuBusy());
System.out.println(sic.getUlimitInfo().getOpenFilesHardLimit());