How is partial pressure of oxygen measured?
The “partial pressure” of any gas in a mixture can only be inferred from the analysis of the mixture composition.
Direct measurement of a pure gas pressure at any given temperature and volume will give you the “partial pressure” for that gas in any other mixture at that temperature and volume.
Partial pressure is found by Dalton's Law:
and, n = PV/RT from the ideal gas laws.