The government is closely monitoring the prices and availability of essential food commodities, especially pulses and onion, to ensure affordability and maintain a stable price regime, the Ministry of Consumer Affairs, Food and Public Distribution said in a release.