![]() |
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 |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New section | woofie | Post Here to Contact Site Administrators and Moderators | 3 | 10-20-2008 08:55 AM |
| running script after closing telnet | shinjeck | SUN Solaris | 2 | 10-29-2007 07:52 AM |
| Windows section?!? | PxT | Post Here to Contact Site Administrators and Moderators | 4 | 04-11-2002 09:28 AM |
| New Section | kapilv | Post Here to Contact Site Administrators and Moderators | 3 | 10-31-2001 09:57 PM |
| New section | ober5861 | Post Here to Contact Site Administrators and Moderators | 3 | 07-25-2001 12:16 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi
we have a script which establish connection to two other UNIX server through ssh for transfering files There was no exit command after each ssh connection the script ends with done whether this will close all the ssh connection established throgh script which running under cron every 10 min if we are not using the exit statement how the cron job started ssh will close is there any way to trace what are ssh section started by cron process and we can trace at a time how many ssh sections are present which estalished by the script please help!!!!!!! ![]() |
|
||||
|
The best method is for you to use an exit at the end of your script or have a test condition to check for "Live" PIDs. If PID is still existent after operation is completed, use kill -9 PID <- this can be even used WITHIN your script if you wish
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|