Ly-alpha and MG II H and K fluxes in a sample of dwarf M stars