Note: for convenience, "gas" refers to any gas at a temperature beyond its boiling point; "vapor" refers to any gas evaporated from its liquid state, also implying that the liquid itself is below its boiling point, such as the 150 degrees water in your example.
Dalton's law of partial pressure would come in handy here. The law states that the partial pressure generated by each type of gas particles sum up to the total pressure in a sealed container. The partial pressure of "gasses" can directly be calculated using the ideal gas law. Of course the partial pressure of "gasses" is 0Pa if there is no gas but only vapor in your container.
Now the partial pressure of the vapor of liquids. In a sealed container, if left to attain dynamic equilibrium (which is the steady state in this case) the partial pressure of the vapor of any liquid would be equal to its equilibrium vapor pressure, which is a function of temperature only. Though not excessively accurate, the Antoine equation can be used to estimate this:
$\log P = A- {B \over C+T}$
where P is the equilibrium vapor pressure, A, B and C are substance-specific constants and T is the thermodynamic temperature of the substance. The three substance-specific constants can be checked up on the internet, or provided by other sources, whereas conducting experiments can be a last resort (as it is a very tedious experiment that you need the whole curve of the function to approximate the constants).
If the liquid in question is a mixture of more than one liquid substance, then you'd need a third law - Raoult's law to determine the partial vapor pressure of each component of the mixture:
$p_i = p_i^\star x_i$
where $p_i$ is the partial vapor pressure of component $i$ of the mixture, $p_i^\star$ is the equilibrium vapor pressure of a pure sample of component $i$(in itself, not in a mixture), and $x_i$ is the mole fraction of $i$ in the liquid.
At dynamic equilibrium, combining Dalton's law of partial pressure and Raoult's law yields the expression for total vapor pressure:
$p_{total} = \sum p_i^\star x_i$