Probing the development of galaxy clusters in X rays