Screen DPI or real metrics

How to get current screen DPI or real screen metrics in meters or inches?