![]() |
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 |
| Link type between working machine and server machine | palash2k | UNIX for Dummies Questions & Answers | 1 | 05-22-2008 06:43 AM |
| Execute command from terminal on remote machine | Ranu | Shell Programming and Scripting | 0 | 10-09-2007 04:13 AM |
| how to execute a script on remote machine | balireddy_77 | Shell Programming and Scripting | 4 | 09-27-2006 07:45 PM |
| how to execute C code in linux machine | rajan_ka1 | Shell Programming and Scripting | 3 | 06-29-2006 05:26 AM |
| Executing Script of a different user on Same Machine | yeheyaansari | Shell Programming and Scripting | 5 | 04-07-2005 02:03 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi everyone
I intend to trigger a script from one machine say mc1 that actually excutes on different machine say mc2 and redirect the logs to that machine mc2. I tried to use nohup <nfs location of machine >/script.sh > <nfs location of machine >/script.log 2>&1 & nfs location of machine = /wlsuite/dir1/dir2 which is located on one machine (mc2) And the location from where I 'm excuting the script is /wlsuite/dir1/dir3 on a diferent machine (mc1). But after execution of the script when i give fuser /wlsuite/dir1/dir2/* from mc2 ,it doesnot show any any information on process being executed. while on giving fuser /wlsuite/dir1/dir2/* from mc1 it shows the info which i dont want.i want the info to be available in the host machine itself and not in the location from where the script was triggered. Can anyone help me out to figure a possible solution? |
|
||||
|
Code:
ssh remotehost 'commands to execute go here' |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|