Monitoring physical parameters in the etching chamber