I have a Ubuntu server. There are some jobs running. I have to monitor their CPU, memory usage over complete time of their execution (time series). I know there are a lot of CLI tools like top, htop etc. But what I want, is some tool that captures the data (CPU, memory usage) from the system and shows its time series automatically.
Or what is the best approach for this ?