The name of the user that owns the process. On Unix it is calculated from the real user id.

ps_username(p)

Arguments

p

Process handle.

Value

String scalar.

Details

On Unix, a numeric uid id returned if the uid is not in the user database, thus a username cannot be determined.

Works for zombie processes.

See also

Examples

p <- ps_handle()
p
ps_username(p)