![]() |
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 |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| grep command | christine33990 | UNIX for Dummies Questions & Answers | 11 | 05-06-2008 02:45 AM |
| how to exclude the GREP command from GREP | yamsin789 | UNIX for Advanced & Expert Users | 2 | 10-05-2007 02:59 AM |
| grep command help | ishmael^soyuz | Shell Programming and Scripting | 4 | 07-11-2007 09:01 AM |
| grep command | pmsuper | UNIX for Dummies Questions & Answers | 6 | 11-22-2006 07:12 AM |
| grep command | debasis.mishra | Shell Programming and Scripting | 1 | 03-28-2006 01:53 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
grep command
Hi,
I have a script that do rsh and execute sqlload, after the sqlload completed, a return code will print to a file. Another rsh will get the return code from the output file.The sequence as below. I want to add in a sleep function in between rsh command that will grep the process running in first remote shell. May i know how do i grep the process in remote shell by using "ps -ef | grep " rsh 10.1.65.196 -l ciopr01 ksh /recovery/dmprod/prepaid_loading/scripts/DM_Sqlldr_enh.ksh #Func_Sleep returnCnt=`rsh 10.1.65.196 -l ciopr01 "cat /recovery/dmprod/prepaid_loading/logs/${TARGET_TABLE_NAME}_sqlstatus.log` |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|