Getting process details of something that exited
I am aware about the powerful /proc file system. If I have a process id, I can easily see the details about it by browsing the /proc/<process-id>/. Consider I have a process that starts, does some job and ends. Something like "grep" or "find". How do you see the details of this process? I can't see the process id on the /proc as it will be removed from here once the process is ended.
Is there anyway to do this?