Non equilibrium in statistical and fluid mechanics. Ensembles and their equivalence. Entropy driven intermittency