Allow user to specify frequency to check stack