Lists System Information for the Current Machine
system_info()A named list with elements hostname (a character string),
os_info, cpu_info, and disk_free (data frames/tibbles).
This function reads/queries base::Sys.info(), disk_free(),
and cpu_info() on the current machine.
info <- system_info()
print(info)
#> $hostname
#> [1] "runnervm3jd5f"
#>
#> $os_info
#> # A tibble: 5 × 2
#> field value
#> <chr> <chr>
#> 1 sysname Linux
#> 2 release 6.17.0-1020-azure
#> 3 version #20~24.04.1-Ubuntu SMP Fri Jun 19 20:09:14 UTC 2026
#> 4 machine x86_64
#> 5 os_type unix
#>
#> $cpu_info
#> # A tibble: 39 × 2
#> field value
#> <chr> <chr>
#> 1 hostname runnervm3jd5f
#> 2 processor 0
#> 3 vendor_id vendor_GenuineIntel
#> 4 cpu_family 6
#> 5 model 207
#> 6 model_name INTEL(R) XEON(R) PLATINUM 8573C
#> 7 stepping 2
#> 8 microcode 0xffffffff
#> 9 cpu_mhz 2300.000
#> 10 cache_size 266240 KB
#> # ℹ 29 more rows
#>
#> $disk_free
#> # A tibble: 7 × 6
#> filesystem blocks_1024 used available capacity mounted_on
#> <chr> <dbl> <dbl> <dbl> <dbl> <chr>
#> 1 /dev/root 151263856 60672120 90575352 0.41 /
#> 2 tmpfs 8186220 84 8186136 0.01 /dev/shm
#> 3 tmpfs 3274488 1020 3273468 0.01 /run
#> 4 tmpfs 5120 0 5120 0 /run/lock
#> 5 /dev/nvme0n1p16 901520 65016 773376 0.08 /boot
#> 6 /dev/nvme0n1p15 106832 6250 100582 0.06 /boot/efi
#> 7 tmpfs 1637244 12 1637232 0.01 /run/user/1001
#>