Variation in fluctuation of the bacteria membrane is measured by the coupling to an elastic microcantilever plate. We report the real time detection of E.coli infection by bacteriophage T7 using this method.