lilphil, you could use Perl/Tk and create a widget on each display. Then use
$height = $widget->screenheight; $width = $widget->screenwidth; $depth = $widget->screendepth; to capture the dimensions of the screen.
Repeat the process for the widget(s) on the other screen(s). Then, if you don't want a GUI, destroy the main widget.