The Pid Of Your Java Process

If you want to write your current (PID) process id out to the log file use

ManagementFactory.getRuntimeMXBean().getName()

you can also log the version of java that you are using via

System.getProperty("java.version");
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License