Is there a Python module to get a report from CPU and RAM usage of a specific user of an Ubuntu system between two dates? If there is no such a tool, I wonder how can I implement such an application using pure Python code? What is the starting point for doing that?
This answer seems to address the way of obtaining current CPU and RAM usage. What I need is to get a history of CPU (for example, in terms of the number of clocks) and RAM (in terms of bytes) usage for each user between two given dates. Are these information logged and stored by Linux? If yes, where are they stored? If not, how can I implement such a monitoring tool in Python?