![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Completed IBM AIX | udayn | AIX | 8 | 4 Weeks Ago 12:09 PM |
| Does sync(2) block writes until completed? | mschwage | UNIX for Advanced & Expert Users | 4 | 09-24-2008 05:48 PM |
| FQO: V1 Completed | iBot | Software Releases - RSS News | 0 | 07-12-2008 05:30 PM |
| killing a unix job after the job process gets completed | dtazv | SUN Solaris | 7 | 09-28-2005 07:18 AM |
| When a FTP download is completed | Javi | SuSE | 11 | 06-20-2005 07:17 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Background job when completed
Hello - I submitted one background job last night and it completed today morning.I want to know exact time the job completed.
I submitted backgroung job like this nohup cp -Rp /opt/apps/prod/proddb/proddata . & I want to know when above job completed on UNIX server.Above command submitted on following server. SunOS proddb 5.10 Generic_141414-09 sun4u sparc SUNW,Sun-Fire-880 Thanks in advance. Mansoor. |
|
||||
|
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...? Thanks, Mansoor. |
|
||||
|
Quote:
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. Thanks, Mansoor. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|