List all processes that loaded a shared library
Character vector of paths of shared libraries to look up. They must be absolute paths. They don't need to exist. Forward slashes are converted to backward slashes on Windows, and the output will always have backward slashes in the paths.
Character scalar or
Character vector or
This function currently only works on Windows.
On Windows, a 32 bit R process can only list other 32 bit processes. Similarly, a 64 bit R process can only list other 64 bit processes. This is a limitation of the Windows API.
Even though Windows file systems are (almost always) case
insensitive, the matching of
user and also
are case sensitive. This might change in the future.
This function can be very slow on Windows, because it needs to
enumerate all shared libraries of all processes in the system,
filter argument is set. Make sure you set
if you can.
If you want to look up multiple shared libraries, list all of them
paths, instead of calling
ps_shared_lib_users for each
If you are after libraries loaded by R processes, you might want to
c("Rgui.exe", "Rterm.exe", "rsession.exe") The
last one is for RStudio.
A data frame (tibble) with columns:
dll: the file name of the dll file, without the path,
path: path to the shared library,
pid: process ID of the process,
name: name of the process,
username: username of process owner,
ps_handle object, that can be used to further
query and manipulate the process.
Other shared library tools:
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.