You can issue the following command on an Apple Mac’s terminal to show the EDID UUID (unique serial number) of all attached external monitors:

ioreg -l | grep EDID