Implement processId based on the java commandline, pid, host