Lists the Memory Information for the Current Machine

mem_info()

Value

A data.frame (tibble) with the two columns field and value. For most CPUs, there will be duplicated field:s.

Details

This function reads/queries /proc/meminfo on the current machine.

Examples

info <- mem_info()
print(info)
#> # A tibble: 58 × 2
#>    field                value
#>    <chr>                <dbl>
#>  1 memtotal       16372440000
#>  2 memfree         9970424000
#>  3 memavailable   14744300000
#>  4 buffers          127196000
#>  5 cached          4872496000
#>  6 swapcached               0
#>  7 active          2325448000
#>  8 inactive        3179504000
#>  9 active(anon)     563592000
#> 10 inactive(anon)           0
#> # ℹ 48 more rows