08-18-2008
I am able to execute a command with ssh option.But i am facing one problem.before executing a script i need to execute my .profile also.because i have some env varaibles which comes from .profile and the sript will use them.
Can any one of you please help me how can i do that.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm a complete novice at Unix and need to create a script that does the following...
checks to see if an application server is running.
If the app is running then print 'Available'
Else print 'Unavaliable'
exit from scriopt
I have no idea where to start. I'd be very grateful... (0 Replies)
Discussion started by: duglover
0 Replies
2. Shell Programming and Scripting
Hello Everyody
Please help me with the below problem.
I have two servers names server1 and server2.
From server1, i have to connect to server2 and execute a script residing on server2. How can i achieve this? (6 Replies)
Discussion started by: vasuarjula
6 Replies
3. Shell Programming and Scripting
hi all,
how to execute shell script in another server that contain sql script. i tried using "ssh -l" option.. but i am unable to load the environment variable of the remote host.
please suggest how execute the shell script contain sql part inside it. (2 Replies)
Discussion started by: sandeep909
2 Replies
4. Shell Programming and Scripting
Hello,
We have to configure servers with a range of IPs which is in itself a subject for another script assistance request -but- we have run into quite a few IP ranges with routing problems lately.
I've been trying to figure out the best way to test a range of IPs, I mean, manually it's not... (4 Replies)
Discussion started by: boxgoboom
4 Replies
5. Shell Programming and Scripting
hi, i am new to unix,
cuold u send some sftp acripts to send files to dev server to clint server, (1 Reply)
Discussion started by: Koti.annam
1 Replies
6. Shell Programming and Scripting
I am unable to run the below script against a remote server due to syntax error (then unexpected), but i am able to run it locally. Am i executing it correctly or is there any other way to execute it.
ssh username@servernname ksh -s < scriptname
#!/bin/ksh
function record
{
((end =... (5 Replies)
Discussion started by: NarayanaPrakash
5 Replies
7. Shell Programming and Scripting
Hi ,
Is there any script to copy a files (weblogic bianary + silent.xml ) from one server (linux) to another servers and then execute the copy file.
We want to copy a file on multiple servers and run the installation.
Thanks (1 Reply)
Discussion started by: Nawrajesh
1 Replies
8. Shell Programming and Scripting
hi,
i have a shellscipt that is in another server, my question is how do i run the script from a different server.
EXAMPLE:
SCRIPT_NAME: sample.sh
SERVER: A
what i wanted to achieve is to call that script from server B. Tried using ssh
ssh <username>@serverB /home/sample.sh
but... (5 Replies)
Discussion started by: reignangel2003
5 Replies
9. Shell Programming and Scripting
Hi All,
We have shell scripts in UNIX ( Sun OS ) server.
Also in my windows machine i have Cygwin installed.
Now is there a way to execute Shell script available in UNIX server from Cygwin? (4 Replies)
Discussion started by: Girish19
4 Replies
LEARN ABOUT DEBIAN
cipux_rpc_test_client
CIPUX_RPC_TEST_CLIENT(1p) User Contributed Perl Documentation CIPUX_RPC_TEST_CLIENT(1p)
NAME
cipux_rpc_test_client - command line tool to test the RPC server
VERSION
version 3.4.0.0
SYNOPSIS
cipux_rpc_test_client [OPTIONS]
cipux_rpc_test_client --help|-h
cipux_rpc_test_client --version|-V
Options:
--debug : prints debug messages to cipux-test.log
--host <NAME> : rpc server address, examples: localhost, 127.0.0.1, ldap
--maxtest <NUMBER>: executes until and including max. number of tests
--no-ssl : rpc server use no SSL
--port <NUMBER> : rpc server port, example: 8001
--ssl : rpc server use SSL
DESCRIPTION
This is a test script for users admins or packages to test if the cipux-RPC server is working.
REQUIRED ARGUMENTS
None.
OPTIONS
--debug
Prints debug messages to cipux-test.log.
-h
See --help
--help
Prints short usage message.
--host NAME
Address of the RPC server. For example localhost, 127.0.0.1, ldap or other names.
--maxtest NUMBER_OF_TESTS
Runs up to NUMBER_OF_TESTS tests. The script can not stop after every test, but after the next possible test. Useful for debugging.
--no-ssl
Access CipUX XML-RPC server only over http, not https.
--port NUMBER
Port number of the XML RPC server. For example 8001.
--ssl
Access CipUX XML-RPC server over SSL aka https.
DIAGNOSTICS
None.
EXIT STATUS
1 on failure
0 on success
other from XML-RPC server
CONFIGURATION
not needet.
DEPENDENCIES
CipUX::RPC::Test::Client
version
INCOMPATIBILITIES
Not known.
BUGS AND LIMITATIONS
Not known.
AUTHOR
Christian Kuelker <christian.kuelker@cipworx.org>
LICENSE AND COPYRIGHT
Copyright (C) 2007 - 2008 by Christian Kuelker
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
perl v5.14.2 2012-01-04 CIPUX_RPC_TEST_CLIENT(1p)