Zend certified PHP/Magento developer

How do I retrieve a PDF page’s boxes info?

I know PDFs have various “boxes” defined for their pages: Media box, bleed box, art box etc.. But – typical PDF viewers in Linux don’t seem to show these boxes, nor list their dimensions and positions in any “page properties” or “file properties” dialogs.

Suppose I have a one-page PDF. How can I determine those boxes’ sizes and dimensions?

I don’t mind using the command-line of course.

Note: Assume a reasonably-modern Linux distribution.