08-28-2013
What OS / version are you on?
Please copy here the complete output of ps aux.
What do you exactly mean when you say "my one job"? Is it a script that you wrote, a process running on your machine...?
8 More Discussions You Might Find Interesting
1. What is on Your Mind?
Dear UNIX Folks,
I guess everyone of us like to know what sysadmin typically do during his free time.
Not what he/she likes as an hobbies.. but what activities does he/she often indulge in other than facing the monitor.
Maybe we can come up this a better stereo-typed for sysadmin.
I... (8 Replies)
Discussion started by: izy100
8 Replies
2. What is on Your Mind?
Hi All,
Please give your valuable advice on this. Recently I went to an interview a for a Sybase, Perl and K-shell scripting. I am not worried about the scripting and I love it. I am working in the above mentioned fields.
The Project manager( when I was interviewed) told me that the job... (0 Replies)
Discussion started by: jingi1234
0 Replies
3. UNIX for Dummies Questions & Answers
I have a requirement which will select the files with a specific naming convention which got created in past 7 days in a specific directory.Lets say the directory is /data/XYZ and the file names follow the below nomenclature like Daily_File*.txt
I just need to create one CSV file which will... (12 Replies)
Discussion started by: dr46014
12 Replies
4. Shell Programming and Scripting
Hi All,
I have a file which contains the listing of another directory:
>cat list.dat
-rwxr-xr-x 1 test staff 10240 Oct 02 06:53 test.txtdd
-rwxrwxrwx 1 test staff 0 Oct 04 07:22 test.txx
-rwxrwxrwx 1 test staff 132 Sep 16 2007 test_tt.sh... (6 Replies)
Discussion started by: deepakgang
6 Replies
5. UNIX for Dummies Questions & Answers
Hi ,
We have 20 jobs are scheduled.
In that one of our job is taking long time ,it's not completing.
If we are not terminating it's running infinity time actually the job completion time is 5 minutes.
The job is deleting some records from the table and two insert statements and one select... (7 Replies)
Discussion started by: ajaykumarkona
7 Replies
6. Shell Programming and Scripting
Hi All,
I want to list file of LAST 7 days acc. to its modified date and then concatinate.
I have following piece of code..
For concatenate
cat file1 file2 >> Output (For concatinating)
find . -mtime -7 -exec basename {} \; (list past files but it is including . file also)
Plz... (4 Replies)
Discussion started by: vivek1489
4 Replies
7. Shell Programming and Scripting
Hi guys,
could you help to find a way to get the past 30 mins time in solaris.
version:
bash-3.00# uname -a
SunOS solaris 5.10 Generic_142910-17 i86pc i386 i86pc
I had tried the following ways, it works fine in GNU Linux, but doesn't work in Solaris.
# date
Tue Apr 2 01:01:49 CST... (4 Replies)
Discussion started by: ambious
4 Replies
8. Shell Programming and Scripting
Hi ,
Can anyone help me how do perform below requirement in unix.
Step1:we will receive multiple files weekly with same name(as below) in a folder(In folder we will have other files also def.dat,ghf.dat)
Filenames:
1) abc_20171204_052389.dat
2)abc_20171204_052428.dat
DON'T modify... (23 Replies)
Discussion started by: sunnykamal59
23 Replies
LEARN ABOUT DEBIAN
condor_wait
condor_wait(1) General Commands Manual condor_wait(1)
Name
condor_wait Wait - for jobs to finish
Synopsis
condor_wait [-help -version]
condor_wait[-debug] [-wait seconds] [-num number-of-jobs] log-file[job ID]
Description
condor_waitwatches a user log file (created with the logcommand within a submit description file) and returns when one or more jobs from
the log have completed or aborted.
Because condor_waitexpects to find at least one job submitted event in the log file, at least one job must have been successfully submitted
with condor_submitbefore condor_waitis executed.
condor_waitwill wait forever for jobs to finish, unless a shorter wait time is specified.
Options
-help
Display usage information
-version
Display version information
-debug
Show extra debugging information.
-wait seconds
Wait no more than the integer number of seconds. The default is unlimited time.
-num number-of-jobs
Wait for the integer number-of-jobsjobs to end. The default is all jobs in the log file.
log file
The name of the log file to watch for information about the job.
job ID
A specific job or set of jobs to watch. If the job IDis only the job ClassAd attribute ClusterId , then condor_wait waits for all jobs
with the given ClusterId . If the job IDis a pair of the job ClassAd attributes, given by ClusterId . ProcId , then condor_wait waits
for the specific job with this job ID. If this option is not specified, all jobs that exist in the log file when condor_wait is invoked
will be watched.
General Remarks
condor_waitis an inexpensive way to test or wait for the completion of a job or a whole cluster, if you are trying to get a process outside
of Condor to synchronize with a job or set of jobs.
It can also be used to wait for the completion of a limited subset of jobs, via the -numoption.
Examples
condor_wait logfile
This command waits for all jobs that exist in logfile to complete.
condor_wait logfile 40
This command waits for all jobs that exist in logfile with a job ClassAd attribute ClusterId of 40 to complete.
condor_wait -num 2 logfile
This command waits for any two jobs that exist in logfile to complete.
condor_wait logfile 40.1
This command waits for job 40.1 that exists in logfile to complete.
condor_wait -wait 3600 logfile 40.1
This waits for job 40.1 to complete by watching logfile , but it will not wait more than one hour (3600 seconds).
Exit Status
condor_waitexits with 0 if and only if the specified job or jobs have completed or aborted. condor_waitreturns 1 if unrecoverable errors
occur, such as a missing log file, if the job does not exist in the log file, or the user-specified waiting time has expired.
Author
Condor Team, University of Wisconsin-Madison
Copyright
Copyright (C) 1990-2012 Condor Team, Computer Sciences Department, University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
Licensed under the Apache License, Version 2.0.
See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu
September 2012 condor_wait(1)