  We study the persistence probability of a centered stationary Gaussian
process on $\mathbb{Z}$ or $\mathbb{R}$, that is, its probability to remain
positive for a long time. We describe the delicate interplay between this
probability and the behavior of the spectral measure of the process near zero
and infinity.
