Start process on X number of files and then wait for the next batch
Thanks for RudiC for his extraordinary help on organizing files in a batch of 10 using below code.
Problem:
I want to run the batch on 10 files ( which takes a lot of time ) and then once the batch is finished , I want to execute the next iteration
if I do something like this,
the problem with this approach is that every batch process is sent to background and I can't find if there are any processes running in the background for the current session so that I can start the next session.
Alternatively, if I run like this, which is again a sequential approach and doesn't fulfill the requirement of parallel run.
Does anyone know what the equivalent command to pwait on Solaris is on DG/UX. I need my script to kick off a process and wait till it is complete before continuing with the script. (4 Replies)
Hi all,
I am new to unix shell scripting and I am trying to append batch number that comes in Trailer record to the detailed record.
TR|20080312|22881 |000000005|20080319|2202
LN|20080312|077777722220 |0000100000017|ABS
LN|20080312|000799439326 |0000709943937|AA
TR|20080313|22897 ... (6 Replies)
Did not use 'wait' yet.
How I understand by now the wait works only for child processes, started background.
Is there any other way to watch completion of any, not related process (at least, a process, owned by the same user?)
I need to start a background process, witch will be waiting... (2 Replies)
can any one please give me clear idea of wait process in UNIX system.
I am using AIX 5.3 and see loots of wait process. I have very basic concept of wait process. If CPU has nothing to do then a wait process is generated per CPU. But i want know the detail how is it forked.
Is wait a jombe... (2 Replies)
Is there any way to find "Number of files" that exists on my solaris parition in the starting of 2009 year ?
I know ctime or mtime will not help and unix wouldnt store creation time.
Only hope i can see ( and i am not sure if that will help ) is that my system is up from last 2 years without... (5 Replies)
Hi All,
I have two ksh script. 1st script calls the 2nd script and the second script calls an 'C' program.
I want 1st script to wait until the 'C' program completes.
I cant able to get the process id for the 'C' program (child process) to make the 1st script to wait for the second... (7 Replies)
Hello all,
I have a make question, and I was hoping somebody here might be able to point me in the right direction.
Here is my issue; I have a command-line tool that I use to run a conversion on an input XML file that results in an output binary file. However, this particular tool needs to... (1 Reply)
Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below.
I am on a solaris server btw.
Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose.
... (2 Replies)
Morning,
I'm trying to execute a vbs from a .bat file. Can someone tell me what the difference is between these statements:
start c:\lib\runit.vbc
c:\lib\runit.vbs
When I run the batch with the 'start' parameter it doesn't seem to do anything. (1 Reply)
Discussion started by: Grueben
1 Replies
LEARN ABOUT DEBIAN
ecaccess-queue-list
ECACCESS-QUEUE-LIST(1p) User Contributed Perl Documentation ECACCESS-QUEUE-LIST(1p)NAME
ecaccess-queue-list - List available queues
SYNOPSIS
ecaccess-queue-list -version|-help|-manual
ecaccess-queue-list [-debug] [queue-name]
DESCRIPTION
Two different types of queues are in use with ECaccess:
1 - The ECaccess batch queues, which correspond to one system at ECMWF with its specific batch environment, e.g. ecgate will be the
ECaccess queue, which will redirect jobs to ecgate at ECMWF, running LoadLeveler. This ECaccess queue will be given as argument when
submitting a batch job.
2 - The batch queues (or classes) on the systems at ECMWF will be given in the batch job with #@ class = for LoadLeveler.
The names of the ECaccess queues and associated batch queues at ECMWF can be seen with this command. When an ECaccess queue-name is
specified then the details for this queue are displayed (including the list of classes).
The first ECaccess batch queue in the list is the default queue when submitting a batch job with the ecaccess-job-submit command.
ARGUMENTS
queue-name (optional)
The name of the ECaccess queue to retrieve the details.
OPTIONS -version
Display version number and exits.
-help Print a brief help message and exits.
-manual Prints the manual page and exits.
-debug Display the SOAP messages exchanged.
EXAMPLES
ecaccess-queue-list
List all the ECaccess batch queues (or systems supporting job submission at ECMWF).
ecaccess-queue-list ecgate
List all the batch queues (or classes) on the ECMWF system ecgate.
SEE ALSO
ecaccess.
perl v5.14.2 2012-04-16 ECACCESS-QUEUE-LIST(1p)