Returns the address space map of a process as a data frame.

procmap_get(..., as_tibble = NULL)

Arguments

...

Reserved for future extensions, must be empty.

as_tibble

When using in a package, set to TRUE to return a tibble::tibble. This requires the tibble package to be installed. The default returns a tibble if the package is installed, otherwise a data frame.

Value

A data frame or tibble, depending on the as_tibble argument.

Examples

procmap_get()
#> # A tibble: 416 x 6 #> from to perms offset inode pathname #> <chr> <chr> <chr> <chr> <chr> <chr> #> 1 000000000040… 000000000040… r-xp 000000… 44077… "/opt/R/4.0.2/lib/R/bin/exe… #> 2 000000000060… 000000000060… r--p 000000… 44077… "/opt/R/4.0.2/lib/R/bin/exe… #> 3 000000000060… 000000000060… rw-p 000010… 44077… "/opt/R/4.0.2/lib/R/bin/exe… #> 4 000000000117… 0000000006ec… rw-p 000000… 0 "[heap]" #> 5 00007fd6ea5f… 00007fd6ea60… r-xp 000000… 44076… "/opt/R/4.0.2/lib/R/modules… #> 6 00007fd6ea60… 00007fd6ea80… ---p 000150… 44076… "/opt/R/4.0.2/lib/R/modules… #> 7 00007fd6ea80… 00007fd6ea80… r--p 000140… 44076… "/opt/R/4.0.2/lib/R/modules… #> 8 00007fd6ea80… 00007fd6ea80… rw-p 000150… 44076… "/opt/R/4.0.2/lib/R/modules… #> 9 00007fd6ea80… 00007fd6ea91… rw-p 000000… 0 "" #> 10 00007fd6ea91… 00007fd6ea91… r-xp 000000… 54377 "/usr/lib/x86_64-linux-gnu/… #> # … with 406 more rows