Real-time monitor for thin film etching in atomic oxygen environments