I would like to know any command that I can run to know the end time of a process.
I have already launched the process and know its PID but I want to know if there is any command that can tell me at what time it ended.
THanks for your help.
Or you can make a bash script.
Then give it execution permission:
and run it passing the process' PID:
If you want to avoid PID collisions you can use
Maybe the command
Once the process finishes
Check the man page or just take a look to this online man page.