You can find the tutorial for this code here Tutorial on QBit Microservices Java Lib using REST.
$ curl https://localhost:7777/__admin/ok
true
$ curl https://localhost:7777/__admin/system/property/
{"java.runtime.name":"Java(TM) SE Runtime Environment",...}
$ curl https://localhost:7777/__admin/system/property?p=sun.cpu.endian
"little"
$ curl https://localhost:7777/__admin/env/variable/
{"PATH":"/usr/local/bin:/usr/bin:/bin:/usr/sbin:...",...}
$ curl https://localhost:7777/__admin/env/variable?v=HOME
//NOT WORKING
$ curl https://localhost:7777/__admin/available-processors
8
$ curl https://localhost:7777/__admin/memory/free
190226344
$ curl https://localhost:7777/__admin/memory/total
257425408
$ curl https://localhost:7777/__admin/memory/max
3817865216
$ curl https://localhost:7777/__admin/memory/heap/usage
69899384
$ curl https://localhost:7777/__admin/memory/non-heap/usage
22452280
$ curl https://localhost:7777/__admin/thread/count
33
$ curl https://localhost:7777/__admin/os/load-average
4.651855
$ curl https://localhost:7777/__admin/os/name
"Mac OS X"
$ curl https://localhost:7777/__admin/os/arch
"x86_64"
$ curl https://localhost:7777/__admin/os/version
"10.10.5"
$ curl https://localhost:7777/__admin/runtime/classpath
"...:..."
$ curl https://localhost:7777/__admin/runtime/boot-classpath
"/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/resources.jar:..."
$ curl https://localhost:7777/__admin/runtime/vm-version
"25.45-b02"
$ curl https://localhost:7777/__admin/runtime/vm-vendor
"Oracle Corporation"
$ curl https://localhost:7777/__admin/runtime/lib-path
"/Users/rick/Library/Java/Extensions:/Library/Java/Extensions:..."
$ curl https://localhost:7777/__admin/runtime/spec-name
"Java Virtual Machine Specification"
$ curl https://localhost:7777/__admin/runtime/spec-version
"1.8"
$ curl https://localhost:7777/__admin/runtime/spec-vendor
"Oracle Corporation"