Sponsored Content
Top Forums Shell Programming and Scripting Shell script executed from Informatica ETL tool is spawning 2 processes for one script Post 302810163 by chekusi on Tuesday 21st of May 2013 10:00:46 AM
Old 05-21-2013
@Chubler_XL,
Whenever i am executing this script through informatica command task, issue of 2 process creation for one script execution is occurring. If i execute the script at command line, one process will get created. This is irrespective of shell thats being used.

I am seeing one more process for the script execution getting created. Please see below.

Code:
% ps -ef | grep '[c]oldcentric'
     DW 29690 13496   0 14:37:07 ?           0:00 sh -c /DATAWAREHOUSE/LOAD/Scripts/coldcentric.sh
     DW 29691 29690   0 14:37:08 ?           0:00 sh -c /DATAWAREHOUSE/LOAD/Scripts/coldcentric.sh


I executed script /DATAWAREHOUSE/LOAD/Scripts/coldcentric.sh from a command task in Informatica worklow as shown below.

Code:
./DATAWAREHOUSE/LOAD/Scripts/coldcentric.sh

When i abort command task or workflow, i am seeing only first process among above 2 process getting killed and second process would be alive and will not get killed. It becomes orphan and kernel process id gets tagged to this process. It remains by utilizing CPU.

After aborting worklow, below still remains.

Code:
% ps -ef | grep '[c]oldcentric'
DW 29691 11490   0 14:37:08 ?           0:00 sh -c /DATAWAREHOUSE/LOAD/Scripts/coldcentric.sh


I am using a while loop in my script as shown below.

Code:
while [ ! -f LANDDIR/TRIGGERFILE ]
do
  sleep 60
done

I am executing other scripts in my other ETLs and i am not facing this issue. There is no while loop like above in those scripts. Is this creating a problem ?


Thanks,

Last edited by chekusi; 05-21-2013 at 01:25 PM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Spawning a shell script

Hi there, I have a shell script which I need to run it from two different places on the same server, are there any specific rules I need to apply? What is the best practice to achieve this task. Regards (5 Replies)
Discussion started by: JimJim
5 Replies

2. Shell Programming and Scripting

Reg: Shell script ran using informatica

Hi all, I am not sure whether this is the right place to ask this question...:) I am working in Informatica PowerCenter 8.1.1 tool and my server is on UNIX. I have got a shell script to copy files from one folder to another. When I run the script directly from UNIX prompt it is taking 60... (0 Replies)
Discussion started by: sam99
0 Replies

3. Shell Programming and Scripting

Help with Informatica Backend Shell Script

Request Any one of your to provide me a script which does the following in a single unix script. Basically Users will load data in SHARED LINK everyday, should write a UNIX SCRIPT which will ........ 1) Unix script should Open the LINK (FTP) 2) Each DIRECTORY in the link contains many... (0 Replies)
Discussion started by: informaticalabs
0 Replies

4. UNIX for Dummies Questions & Answers

Unix Shell Script on Tidal schedular for ETL

Hello I am very new to Unix scripting, I am using informatica etl,which is schedule by tidal enterprise. I have a scenario where assume that Tidal only knows how to run jobs at a given time and does not know how to retry. So i want to know weather can i write a shell script such that... (1 Reply)
Discussion started by: bluestarmoon
1 Replies

5. Shell Programming and Scripting

help with shell script executed by php.

I made a shell script to execute a server in screen mode. # start server screen -d -m -S Test ./application echo "Program Started Successfully" than I'm executing it from php by echo shell_exec('/home/script.sh'); and it is giving me this error. "cannot make directory... (1 Reply)
Discussion started by: dmallia
1 Replies

6. Shell Programming and Scripting

Script to check ETL standards in an Informatica mapping

Hi, Script to check the ETL standards in an informatica mapping ( xml file ). Example: To check the naming standard of mapping . To check the transformation naming convention. To check the datatypes. To the session name , it should start with s. To check the workflow name , it should... (0 Replies)
Discussion started by: srimadhuri
0 Replies

7. Shell Programming and Scripting

Informatica post session shell script

Hi, This is regarding a issue we are facing in informatica post session. We place a shell script in informatica job. The shell script will need to upload a dummy file to another server.The shell script is running fine.However in informatica job not completing and throwing error It's... (1 Reply)
Discussion started by: nag_sathi
1 Replies

8. Solaris

Script on Solaris spawning 2 processes for one shell script execution

Hi, I am having a shell script on Solaris 10 which has a while loop as shown below. #!/usr/bin/ksh # while do sleep 60 done Name of the shell script is coldcentric.sh. I executed script /DATAWAREHOUSE/LOAD/Scripts/coldcentric.sh from a command task in Informatica worklow as... (3 Replies)
Discussion started by: chekusi
3 Replies

9. Shell Programming and Scripting

Shell script not getting executed

Hi As per my requirement when I run . ./file.sh am getting the following error -bash:ELF: command not found when i execute as ./file.sh it is getting executed.How to resolve this. Thanks in advance. (3 Replies)
Discussion started by: pracheth
3 Replies

10. Shell Programming and Scripting

Capture run time of python script executed inside shell script

I have bash shell script which is internally calling python script.I would like to know how long python is taking to execute.I am not allowed to do changes in python script.Please note i need to know execution time of python script which is getting executed inside shell .I need to store execution... (2 Replies)
Discussion started by: Adfire
2 Replies
LOAD(7) 							   SQL Commands 							   LOAD(7)

NAME
LOAD - load a shared library file SYNOPSIS
LOAD 'filename' DESCRIPTION
This command loads a shared library file into the PostgreSQL server's address space. If the file has been loaded already, the command does nothing. Shared library files that contain C functions are automatically loaded whenever one of their functions is called. Therefore, an explicit LOAD is usually only needed to load a library that modifies the server's behavior through ``hooks'' rather than providing a set of functions. The file name is specified in the same way as for shared library names in CREATE FUNCTION [create_function(7)]; in particular, one can rely on a search path and automatic addition of the system's standard shared library file name extension. See in the documentation for more information on this topic. Non-superusers can only apply LOAD to library files located in $libdir/plugins/ -- the specified filename must begin with exactly that string. (It is the database administrator's responsibility to ensure that only ``safe'' libraries are installed there.) COMPATIBILITY
LOAD is a PostgreSQL extension. SEE ALSO
CREATE FUNCTION [create_function(7)] SQL - Language Statements 2010-05-14 LOAD(7)
All times are GMT -4. The time now is 04:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy