Anaesthesia

Capnography is useful for: