X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/0add25e33500110a36458a0bb3fa292d408d2b85..1f0796778754d8df0dfab9dd01302e26a397f064:/src/nominatim_db/tools/collect_os_info.py?ds=sidebyside diff --git a/src/nominatim_db/tools/collect_os_info.py b/src/nominatim_db/tools/collect_os_info.py index d054ef00..fc921b20 100644 --- a/src/nominatim_db/tools/collect_os_info.py +++ b/src/nominatim_db/tools/collect_os_info.py @@ -132,24 +132,25 @@ def report_system_information(config: Configuration) -> None: - PostgreSQL version: {postgresql_ver} - PostGIS version: {postgis_ver} - OS: {os_name_info()} - - + + **Hardware Configuration:** - RAM: {friendly_memory_string(psutil.virtual_memory().total)} - number of CPUs: {psutil.cpu_count(logical=False)} - - bare metal/AWS/other cloud service (per systemd-detect-virt(1)): {run_command("systemd-detect-virt")} + - bare metal/AWS/other cloud service (per systemd-detect-virt(1)): + {run_command("systemd-detect-virt")} - type and size of disks: **`df -h` - df - report file system disk space usage: ** ``` {run_command(["df", "-h"])} ``` - + **lsblk - list block devices: ** ``` {run_command("lsblk")} ``` - - + + **Postgresql Configuration:** ``` {postgresql_config}