The problem of averaging on an infinite time interval is considered. The classical results on averaging proved by N.N. Bogoluybov are generalized to the case in which only a part of the coordinates in the phase space remains close to the equilibrium position of the averaged system. We call this the averaging with respect to a part of the coordinates. The results are based on some topological ideas combined with the standard theorem on averaging on a finite time interval.