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       16373456000
#>  2 memfree        11598504000
#>  3 memavailable   14996144000
#>  4 buffers          125672000
#>  5 cached          3500744000
#>  6 swapcached               0
#>  7 active           888948000
#>  8 inactive        3175640000
#>  9 active(anon)     496456000
#> 10 inactive(anon)           0
#> # ℹ 48 more rows