Fourier transform infrared (FT-IR) spectroscopy has been adapted to control the quality of light bulbs made from silica glass. Such light bulbs contain a molybdenum accessory which, if contaminated with carbon, during the melting procedure of bulb fabrication, can cause the production of carbon monoxide. This CO can be trapped in small gas cavities in the silica glass body of the bulb. A method has been developed for the detection of CO and the total pressure within these gas cavities by traditional FT-IR spectrometry using a spectral resolution of 0.5 cm(-1). The concentration of CO was determined by using a classical least-squares (CLS) method, and the accuracy of concentration determination is reported for the case with sample and reference spectra recorded at different pressures. The total pressure in the cavities was established by two different methods: either by CLS fitting of reference spectra to sample spectra or fitting a Voigt line shape function to the spectral lines within the CO fundamental stretching band. In the latter method, the width of the lines was determined and pressure-broadening coefficients are given and compared with high-resolution data from the literature. According to the measurements, 0.55-0.80 atm total pressure and 0.8-4.0% (v/v) CO was determined in the gas cavities. This method can also be applied to determine the total pressure in similar enclosed spaces in which an appropriate indicator gas component exists.