Note that \(d(x, y) :=\min\{1, |x-y|\}\) defines a metric on \(\bbR\text{,}\) which makes \(\bbR\) a complete metric space with bounded diameter---the latter follows because \(d(x, y)\le 1\) for all \(x, y\in \bbR\text{.}\) This metric defines the same topology on \(\bbR\) as the usual Euclidean metric does, namely, a set \(U\subset \bbR\) is open in this metric iff it is open in the usual Euclidean metric.
We can define a metric \(\rho(f, g) :=\sum_{m=1}^{\infty}\min\{1, |f(m)-g(m)|\}/2^{m}\) for \(f, g: \bbN\mapsto \bbR\text{.}\) A sequence \(f_{n}:\bbN\mapsto \bbR\) converges to \(f:\bbN\mapsto \bbR\) pointwise iff \(\rho(f_{n}, f)\to 0\) as \(n\to \infty\text{.}\)
If we take \(f_{n}(m)=n\) if \(m=n\text{;}\) and \(=0\) if \(m\neq n\text{.}\) Then \(f_{n}(m)\to 0\) pointwise, but not uniformly over \(\bbN\text{,}\) and \(\sum_{m=1}^{\infty}f_{n}(m)=n
\to \infty\) as \(n\to \infty\text{.}\)
