The name of the program, which is typically the name of the executable.

ps_name(p)

Arguments

p

Process handle.

Value

Character scalar.

Details

On on Unix this can change, e.g. via an exec*() system call.

ps_name() works on zombie processes.

See also

Examples

p <- ps_handle()
p
ps_name(p)
ps_exe(p)
ps_cmdline(p)