On 2960, 1800:

show archive config diff


On ASA 5505:

check whether the cryptochecksum of running-config and startup-config differ:

show startup-config | in Crypto
show running-config | in Crypto