(Alexandre Eremenko gave the answer to the question I posted earlier. Then I realised the question didn't give what I wanted. Here is the updated question.)
Suppose that $f:[a,\infty)\to \mathbb{R}$ is smooth at infinity. I would like to have some result like if $f'$ is monotone and does not grow too fast, then something like the following holds
(1) $\lim_{x\to\infty} |f'(x)|/|x f(x)| = 0$.
(2) $\lim_{x\to\infty} |f'(x)|/|f(x)| = 0$.
For (2), it is easy to show that if there exists $\alpha,\beta$ with $\alpha\leq \beta<\alpha+1$ such that $x^\alpha \leq |f'(x)| \leq x^\beta$ then (2) holds. Can this be relaxed?
For (1), my feeling is that it should hold for $f'(x)$ up to $f(x) = e^x$ or even up to $e^{x^2}$. But I do not have a proof...