![]() |
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 |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Idle Oracle Process has removed automatically in AIX5.2 | balareddy | AIX | 1 | 06-27-2008 02:07 AM |
| need help to write script to check the process health and automatically restart it | dragondad | Shell Programming and Scripting | 1 | 10-31-2006 06:16 PM |
| start time of a terminated process | k_chaaya | UNIX for Advanced & Expert Users | 2 | 09-04-2006 12:57 AM |
| How to supress a "Killed" message when a process is terminated? | kenwolff | UNIX for Advanced & Expert Users | 2 | 03-22-2004 11:17 AM |
| process runing automatically | lsquillacioti | UNIX for Dummies Questions & Answers | 2 | 04-12-2001 08:41 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi,
I am elango. I am working with UNIX AIX version 5. I am facing tow problem whenever I am trying to run a script. 1. The moment I run the script 3 more jobs are getting started automatically. I used PS -ef command to check the running Jobs, I found totally 4 jobs are running for the same script. /home/mnprocess> nohup run_main.sh > /home/mnprocess/main.log & /home/mnprocess> ps -ef|grep run usrmain 1880200 25108614 0 15:12:18 - 0:00 sh -- ./run_main.sh usrmain 1880200 25108614 0 15:12:18 - 0:00 sh -- ./run_main.sh usrmain 1880200 25108614 0 15:12:18 - 0:00 sh -- ./run_main.sh usrmain 1880200 25108614 0 15:12:18 - 0:00 sh -- ./run_main.sh 2. When ever i am submitting a new Job the job got sutomatically stopped with the following message. [1] - Stopped (SIGTTIN) nohup ././run_main.sh & I killed all the running jobs then I tried to re subbmit the process after that also the same thing happenning. Thanks in advance. |
|
||||
|
Quote:
This is the script we are using export uname=XXXXXXX . /home/oracle/dba/.PWD_FILE $uname export exedir=/home/data/data1/etl $exedir/smt_main.sh Thanks |
|
||||
|
hi elango,
----first see to that your internal scripts dont call the parent script.... and ----also nohup command ignores only the SIGHUP signal ----if a parameter is not found, then the script will exit, so u can try seeing the return status of the script to know what happened.... and finally ---try running the script using the shell like #ksh <script name> rather than using the nohup command.... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|