get_unix_pid


Description:

public int get_unix_pid () throws Error

Tries to get the UNIX process identifier from this.

This method is only available on UNIX platforms.

This operation can fail if Credentials is not supported on the OS or if the native credentials type does not contain information about the UNIX process ID.

Parameters:

this

A Credentials

Returns:

The UNIX process ID, or -1 if throws is set.