I want to monitor the running processes of a linux machine over time.
My do-it-yourself solution would be:
ps aux --forest every minute to a file.
Background: If I get a message "something was wrong, yesterday around 8 o'clock" I want to see what was going on.
There are plenty of tools which summarize the load and io values, but I need more details.
I can do makeshift plumbing like the above dump of
ps, but I guess there are better solutions.
Which tool could help me?