pid

@JvmStatic
fun pid(): Int(source)

Retrieves the current process' ID

Throws

UnsupportedOperationException

if on Java9+ and module 'java.management' is not present.