Skip to content

Throws a zombie_process() error for zombie processes.

Usage

ps_num_threads(p = ps_handle())

Arguments

p

Process handle.

Value

Integer scalar.

Examples

p <- ps_handle()
p
#> <ps::ps_handle> PID=10076, NAME=R, AT=2022-06-18 08:48:43
ps_num_threads(p)
#> [1] 2