Scott - Thanks for your reply.There are three background jobs submitted from same directory.How can I determine which background job updated this nohup.out file?
Is there any command or series of commands to correlate background job with timestamp like syslog or etc...?
Just adding to it,
if the file is immediately modified by another process, then timestamp can't be modified.
Instead, along with nohup process write a sequent process that just creates a hidden file to know the time stamp later. I know this is hacky and dirty way but just a quick and easy way to do that.
Hi Folks - Thanks for all your responses.This is very good information.
But in my case one background job is already completed.I want to know when that job completed.As I mentioned the nohup.out file time stamp is modified by other jobs.
Is there any command or steps to find out when that background job is compelted.