From time to time, I have to identify which physical server I'm connected to. That usually involves reading the manufacturer serial number of the server.
That information is provided to Linux by the device tree, which is exported via procfs at `/proc/device-tree/`.
However, the file that hosts the serial number of your server may vary according to the virtualization mechanism in place, e.g. bare-metal and LPARs use the file `system-id`, while KVM guests use the file `host-serial`.
With that said, we can read the serial number of our server with the following command:
```find /proc/device-tree/ -name host-serial -o -name system-id | xargs cat; echo```