Anaesthesia

Capnography is used for assessment of -