lagtime issue


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting lagtime issue
# 1  
Old 11-28-2008
lagtime issue

Hi all,

Need your help in the following issue :

I have a script which does the calling of some packages:
All the packages that need to be called are wriiten into a inputfile
Also there are more than one package with the same sequence number.

so in my script I start the packages with the same seq num at the same time by running in the backgroud and also until the previous seq is executed the next seq wont be picked up...
once the packages are called the first thing they do is populating the
time in a table when the package is called for execution...
from observation I can see that the theres a difference in time when shell has started the package execution and the time populated in the table(considerably in sec .....5-8 sec)

Also....sometimes all the packages with the same seq number are not populated with the same timestamp upon the execution(all packages with the same seq num are executed in the background simulatneously )...

So my overall cycle time is affected as half of the time is wasted in the lag time ...

Can anyone suggest why theres is a considerable lag in calling of packages and the best possible solution to avoid this lag ?

Thanks in anticipation ,

Regards
Navatha
# 2  
Old 12-02-2008
Quote:
Originally Posted by Navatha
Hi all,

Need your help in the following issue :

I have a script which does the calling of some packages:
All the packages that need to be called are wriiten into a inputfile
Also there are more than one package with the same sequence number.

so in my script I start the packages with the same seq num at the same time by running in the backgroud and also until the previous seq is executed the next seq wont be picked up...
once the packages are called the first thing they do is populating the
time in a table when the package is called for execution...
from observation I can see that the theres a difference in time when shell has started the package execution and the time populated in the table(considerably in sec .....5-8 sec)

Also....sometimes all the packages with the same seq number are not populated with the same timestamp upon the execution(all packages with the same seq num are executed in the background simulatneously )...

So my overall cycle time is affected as half of the time is wasted in the lag time ...

Can anyone suggest why theres is a considerable lag in calling of packages and the best possible solution to avoid this lag ?

Thanks in anticipation ,

Regards
Navatha


please can ayone let me know why the same timestamp is not populating....
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

What could be the issue ?

Hi, when i am trying below script assume that below values are taken in code #!/bin/ksh if then echo usage: aNlist.sh QMGR NAME MQREQ fi NL=`echo 'dis qmgr'|runmqsc $1|grep REPOSNL|sed 's/.*REPOSNL\(.*\).*/\1/' |cut -d'(' -f2|cut -d')' -f1` echo 'define nl('$NL_$2')... (25 Replies)
Discussion started by: darling
25 Replies

2. Shell Programming and Scripting

Variable value substitution issue with awk command issue

Hi All, I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command. The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies

3. Shell Programming and Scripting

Need assistance with a file issue and a terminal issue

Hello everyone, I'm in need of some assistance. I'm currently enrolled in an introductory UNIX shell programming course and, well halfway through the semester, we are receiving our first actual assignment. I've somewhat realized now that I've fallen behind, and I'm working to get caught up, but for... (1 Reply)
Discussion started by: MrMagoo22
1 Replies

4. Shell Programming and Scripting

CP Issue

I want to copy large amount of files aproximately more than 20,000 files from one file system to another file system, but it gives me error like: #cd /opt/appserver/images #cp * /opt/appserver02/public/images Argument list is too long Also above mention error appear again when i run: ... (1 Reply)
Discussion started by: telnor
1 Replies

5. Solaris

IP issue

hi , I have a Solaris server which is part of a domain. The IP for this Solaris box is allocated dyanamically by a DHCP. Everytime the solaris box is restarted the IP gets changed. Being an admin what should i do to find the new ip of the Solaris server sitting at my location? Till now i get... (2 Replies)
Discussion started by: BalajiUthira
2 Replies

6. UNIX for Dummies Questions & Answers

ISSUE and ISSUE.NET files

In LINUX(CentOS, RedHat) is there a way to have the banner statement appear before the logon instead of after the logon? In UNIX and Windows the banner appears before a person actually logs on, what I'm seeing in LINUX is that it appears after the login(ftp, telnet, SSH). Thanks (0 Replies)
Discussion started by: ejjones
0 Replies

7. Shell Programming and Scripting

please help me in this issue

I have the log file as this date 18:00:00 date 18:01:02 date 18:02:00 date 19:06:00 date 18:03:00 date 18:05:00 I want to get date between 18:00:00 to 18:05:00. I given the command as grep file name but it is not working. Please give me reply. Thanks & Regards, Vijay, (3 Replies)
Discussion started by: bhas85
3 Replies

8. Shell Programming and Scripting

Unix Arithmatic operation issue , datatype issue

Hi, I have a shell scripting. This will take 7 digit number in each line and add 7 digit number with next subsequent lines ( normal addition ). Eg: 0000001 0000220 0001235 0000022 0000023 ........... ......... ........ Like this i am having around 1500000 records. After adding... (23 Replies)
Discussion started by: thambi
23 Replies

9. UNIX for Dummies Questions & Answers

ps issue

HI All, Suddenly don't know what happened to redhat linux 7.2 any program start then itsn't listing while using ps -ef ex: ./xyz this xyz program pid not showing in ps-ef Pls let me know what is the reason for the same. Thanks a lot in advance Bache (7 Replies)
Discussion started by: bache_gowda
7 Replies
Login or Register to Ask a Question