Measuring force or stress, in general by measuring variations in the magnetic properties of materials resulting from the application of stress {by using permanent magnets}