FTIR analysis in oil oxidation process