For anyone in the future, googling this subject.. ( because that's how I found this post )
You can use these commands to generate the report to be pasted into NOTES section.
Code:
date "+%Y-%m-%d %H:%M:%S %Z"
uname -r
uptime
lscpu | grep "Model name:"
lscpu | grep "Core(s) per socket:"
free -h
ip a
hostname
lspci -vnn
find /dev/disk/by-id/ -type l | xargs -I{} ls -l {} | grep -v -E '$' | sort -k11
lsblk
zfs list -o space
These commands will gather the necessary information about your system, hardware, disks, and ZFS space usage. You can then format the output of these commands into the report structure using Markdown's basic table syntax with pipes (|) to define the columns and rows.
And ## to make text bold
Another useful command: find dev disk by id:
Code:
find /dev/disk/by-id/ -type l|xargs -I{} ls -l {}|grep -v -E '[0-9]$' |sort -k11|cut -d' ' -f9,10,11,12
Example: (paste this into your notes to see how it looks)
# Overview of this Proxmox system.
* **CPU:** Intel i5-9400
* **Cores:** 6
* **Memory:** 23Gi Total
* **IP Address(es):** 127.0.0.1, 192.168.1.78
* **Hostname:** pve
## System Hardware Report - February 2, 2025
| Hardware | Vendor | PCI Bus |
|---|---|---|
| Host bridge | Intel Corporation | 00:00.0 |
| PCI bridge | Intel Corporation | 00:01.0 |
| VGA compatible controller | Intel Corporation | 00:02.0 |
| System peripheral | Intel Corporation | 00:08.0 |
| USB controller | Intel Corporation | 00:14.0 |
| RAM memory | Intel Corporation | 00:14.2 |
| Serial bus controller | Intel Corporation | 00:15.0 |
| Serial bus controller | Intel Corporation | 00:15.1 |
| Communication controller | Intel Corporation | 00:16.0 |
| Serial controller | Intel Corporation | 00:16.3 |
| SATA controller | Intel Corporation | 00:17.0 |
| PCI bridge | Intel Corporation | 00:1b.0 |
| PCI bridge | Intel Corporation | 00:1d.0 |
| Communication controller | Intel Corporation | 00:1e.0 |
| ISA bridge | Intel Corporation | 00:1f.0 |
| Audio device | Intel Corporation | 00:1f.3 |
| SMBus | Intel Corporation | 00:1f.4 |
| Serial bus controller | Intel Corporation | 00:1f.5 |
| Ethernet controller | Intel Corporation | 00:1f.6 |
| Serial Attached SCSI controller | Broadcom / LSI | 01:00.0 |
| Non-Volatile memory controller | Samsung Electronics Co Ltd | 02:00.0 |
| Non-Volatile memory controller | SanDisk Corp | 03:00.0 |
## Disk Identifiers - February 2, 2025
| Disk | Disk MODEL_&_SERIAL | DISK ID# |
|---|---|---|
| sda | ata-HUH721212ALE601_AAHVPW5H | wwn-xxx |
| sdb | ata-APPLE_HDD_ST2000DM001_WxxxR | wwn-xxx |
| sdc | ata-APPLE_HDD_ST2000DM001_W1E4xxx9 | wwn-xxx |
| sdd | ata-APPLE_HDD_ST3000DM001_W1FxxxVK | wwn-xxx |
| sde | ata-APPLE_HDD_ST3000DM001_W1xxxx63 | wwn-xxx |
| sdf | ata-ST2000DM001-9YN164_Z1ExxxxL | wwn-xxx |
| sdg | ata-APPLE_HDD_ST2000DM001_Z8ExxxF | wwn-xxx |
| sdh | ata-APPLE_HDD_ST2000DM001_W1xxxxK | wwn-xxx |
| sdi | ata-APPLE_HDD_ST2000DM001_Z8xxxC | wwn-xxx |
| sdj | usb-Generic-_Multiple_Reader_058F63666479-0:0 | |
| sdk | usb-CT250P2S_SD8_xxx-0:0 | |