07-06-2005
maybe? if it runs in foreground, there is no problem
so, how could i do for running and exiting 005.aux in bg in each iteration?
sorry.. if i have basic questions
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hey all,
i am working on sun solaris machine and i want to start a process in background using shell script (actually i wanna start tomcat server using shell script). please dont tell me that append a & at last because this is not working in the shell script. i have also used nohup and... (8 Replies)
Discussion started by: dtomar
8 Replies
2. Shell Programming and Scripting
Hi ,
I have a file like this
parentid process id
45 3456
1 7898
45 7890
1 6789
45 7597
now i need to... (5 Replies)
Discussion started by: namishtiwari
5 Replies
3. Shell Programming and Scripting
Guys,
can you help me in killing the process which is running in back ground under for loop
I am not able to find the PID using ps -afx|grep <word in command I entered> (1 Reply)
Discussion started by: mohan_xunil
1 Replies
4. Shell Programming and Scripting
We had a generic process where the jobs are scheduled to run sequentially and in background. We are noticing the problems with the background jobs.
Error Message:
/bin/ksh: /home/suren/bin/GenericReportScript.sh: cannot execute
The same script is existing in bin and it had enough... (2 Replies)
Discussion started by: sureng
2 Replies
5. Shell Programming and Scripting
hi,
we have a script which runs for the whole day and whenever the job fails, will send an alert to the mailbox. My problem here is that i need to give the jobname dynamically which is not possible if we run the script in background. Pls help me with this.
Thanks
Ajay (6 Replies)
Discussion started by: ajayakunuri
6 Replies
6. Shell Programming and Scripting
I am trying to use a loop to start tasks 0-3, running 0,1,2 in the background with &.
FOLDSET=( 0 1 2 3 )
for FOLDSET in ${FOLDSET}
do
if ; then
BACKGRD="&"
else
BACKGRD=""
fi
# start task $FOLDSET
task1 -nogui -ni -p $PROJ \
epochs=$EPOS ... (3 Replies)
Discussion started by: LMHmedchem
3 Replies
7. Shell Programming and Scripting
Hi all,
I have a script that calls another program/script, xxx, to run in the background. Supposedly this program at most should finish within five (5) minutes so after five (5) minutes, I run some other steps to run the script into completion.
My problem is sometimes the program takes... (5 Replies)
Discussion started by: newbie_01
5 Replies
8. Shell Programming and Scripting
Hi,
I am facing a strange issue,
when i call a script from my while loop in background it doesnt go in background, despite the wait i put below the whil loop it goes forward even before the process put in background is completed.
cat abc.txt | while read -u4 line
do
#if line contains #... (2 Replies)
Discussion started by: mihirvora16
2 Replies
9. Shell Programming and Scripting
Hello Everyone,
I am writing a shell script to fetch log files from remote servers within a time range. It copies log files to local server, grep for date and then compares the time stamp of each log entry with the once specified.
Below is the code.
# Get log and Parsing function
... (1 Reply)
Discussion started by: kanagalamurali
1 Replies
10. Shell Programming and Scripting
Hi,
I work on Ab-initio ETL tool which is based on Unix. I made a small script which has two loop's one with in another. All the functionality is working for the first line of outer loop but when it comes to other lines of outer loop it is throwing error as command not found. Below is the... (4 Replies)
Discussion started by: Ravindra Swan
4 Replies
LEARN ABOUT ULTRIX
st_iaux_copyty
staux(3) Library Functions Manual staux(3)
Name
st_auxbtadd, st_auxbtsize, st_auxisymadd, st_auxrndxadd, st_auxrndxadd, st_addtq, st_tqhigh_aux, st_shifttq, st_iaux_copyty, st_changeaux,
st_changeauxrndx - routines that provide scalar interfaces to auxiliaries
Syntax
#include <syms.h>
long st_auxbtadd(bt)
long bt;
long st_auxbtsize(iaux,width)
long iaux;
long width;
long st_auxisymadd (isym)
long isym;
long st_auxrndxadd (rfd,index)
long rfd;
long index;
long st_auxrndxadd (idn)
long idn;
void st_addtq (iaux,tq)
long iaux;
long tq;
long st_tqhigh_aux(iaux)
long iaux;
void st_shifttq (iaux, tq)
int iaux;
int tq;
long st_iaux_copyty (ifd, psym)
long ifd;
pSYMR psym;
void st_changeaux (iaux, aux)
long iaux;
AUXU aux;
void st_changeauxrndx (iaux, rfd, index)
long iaux;
long rfd;
long index;
Description
Auxiliary entries are unions with a fixed length of four bytes per entry. Much information is packed within the auxiliaries. Rather than
have the compiler front-ends handle each type of auxiliary entry directly, the following set of routines provide a high-level scalar inter-
face to the auxiliaries:
st_auxbtadd Adds a type information record (TIR) to the auxiliaries. It sets the basic type (bt) to the argument and all other
fields to zero. The index to this auxiliary entry is returned.
st_auxbtsize Sets the bit in the TIR, pointed to by the iaux argument. This argument says the basic type is a bit field and adds an
auxiliary with its width in bits.
st_auxisymadd Adds an index into the symbol table (or any other scalar) to the auxiliaries. It sets the value to the argument that
will occupy all four bytes. The index to this auxiliary entry is returned.
st_auxrndxadd Adds a relative index, RNDXR, to the auxiliaries. It sets the rfd and index to their respective arguments. The index
to this auxiliary entry is returned.
st_auxrndxadd_idn Works the same as st_auxrndxadd except that RNDXR is referenced by an index into the dense number table.
st_iaux_copyty Copies the type from the specified file (ifd) for the specified symbol into the auxiliary table for the current file.
It returns the index to the new aux.
st_shifttq Shifts in the specified type qualifier, tq (see sym.h), into the auxiliary entry TIR, which is specified by the `iaux'
index into the current file. The current type qualifiers shift up one tq so that the first tq (tq0) is free for the new
entry.
st_addtq Adds a type qualifier in the highest or most significant non-tqNil type qualifier.
st_tqhigh_iaux Returns the most significant type qualifier given an index into the files aux table.
st_changeaux Changes the iauxth aux in the current file's auxiliary table to aux.
st_changeauxrndx Converts the relative index (RNDXR) auxiliary, which is specified by iaux, to the specified arguments.
See Also
stfd(3)
RISC staux(3)