In pivotal cloud foundry I am running a Java app with 2GB memory having 1 instance . The below code in Java prints 16 on runtime. Should I assume 16 CPU Cores available to process or this is CPU share of overall machine and each app getting share as explained here https://docs.cloudfoundry.org/concepts/container-security.html#cpu
int processors = Runtime.getRuntime().availableProcessors();
System.out.println("Available processor::"+ processors); //16
Also , What does below specifies
cat /sys/fs/cgroup/cpu/cpu.shares
2080