Obtains a unique value to represent the process id via ManagementFactory.getRuntimeMXBean().getName().
WARNING: use with care because the contents of getName may change between OSes and versions of
JDK.