Throws a zombie_process() error for zombie processes.

ps_num_threads(p)

Arguments

p

Process handle.

Value

Integer scalar.

See also

Examples

p <- ps_handle() p
#> <ps::ps_handle> PID=17400, NAME=R, AT=2020-02-16 11:38:31
ps_num_threads(p)
#> [1] 1