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=6099, NAME=R, AT=2024-09-13 08:10:36.35
ps_num_threads(p)
#> [1] 2