Implement a "processes history"

Hi,

It would be very much appreciated if I could check the list of processes of one device at an specific date and time (let's say 1 week, for example). With this, I would be able to know what provoked a system failure or a slow down in a machine.

Thanks