Method System.getpid() Method getpid int getpid() Description Returns the process ID of this process. See also getppid, getpgrp