Examples for 'ps::ps_shared_lib_users'


List all processes that loaded a shared library

Aliases: ps_shared_lib_users

Keywords:

### ** Examples

## Don't show: 
if (ps::ps_is_supported() && ! ps:::is_cran_check() && ps::ps_os_type()[["WINDOWS"]]) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
## End(Don't show)
dlls <- vapply(getLoadedDLLs(), "[[", character(1), "path")
psdll <- dlls[["ps"]][[1]]
r_procs <- c("Rgui.exe", "Rterm.exe", "rsession.exe")
ps_shared_lib_users(psdll, filter = r_procs)
## Don't show: 
}) # examplesIf
## End(Don't show)

[Package ps version 1.7.0 Index]