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: 60 × 2
#>    field                value
#>    <chr>                <dbl>
#>  1 memtotal       16366640000
#>  2 memfree        12283676000
#>  3 memavailable   15066776000
#>  4 buffers          101452000
#>  5 cached          2926704000
#>  6 swapcached               0
#>  7 active           978000000
#>  8 inactive        2512408000
#>  9 active(anon)     520896000
#> 10 inactive(anon)           0
#> # ℹ 50 more rows