I want to watch a given process in unix over time to see what time memory grows (its a long running job)
I guess I could do
ps -aux | grep PID
and run this from cron every 5 minutes, but it seems there should be a better way.
Is there a way I can use sar to do this?