SMD: force-displacement curve

I want to monitor the force-displacement curve during the simulation. How do I do that