10 More Discussions You Might Find Interesting
1. UNIX and Linux Applications
I have a requirement of execueting a Shell script on serverA, which is going to execute an application script ( Hyperian Planning script ) on serverB. Can any one please help in how to achieve this?
script abc.ksh runs on serverA.
internally abc.ksh call a script... (3 Replies)
Discussion started by: alok2082
2. Shell Programming and Scripting
I have a script which needs to exit once it encounters that all the servers are down. In the below portion of a code the content manager is having values of server for example server A , server B. So I want the script to exit only if all the servers are down and to continue if one... (4 Replies)
Discussion started by: Vikram_Tanwar12
3. Shell Programming and Scripting
I have a file serverlist in that all host names are placed.
i have written a small script
for i in `cat serverlist`
ping $i >> output.txt
so now it creates a file output.txt till here fine..
now each time i run this script the output file... (4 Replies)
Discussion started by: madhudeva
4. Shell Programming and Scripting
I am trying to kill a shell script by grepping it, but the machine is being shutdown totally when i kill it
Below is the code
kill `ps -ef |grep test.sh| grep -v grep`
if # check the return code
echo " script killed at $(date +%D@%T) "
echo " script... (5 Replies)
Discussion started by: venu
5. Shell Programming and Scripting
I am trying to get the process id of informatica Domain
I used the below query :
its not returing any result,
when i try this
ps -ef | grep DINFA_DOMAINS_FILE
the result is displayed as below with process id
xxxx 912 1 3 Jul24 ? ... (2 Replies)
Discussion started by: ch33ry
6. Shell Programming and Scripting
It feels like I have taken on to of a big task.. but I want to learn but dont know where to start.. Rome wasnt built in one day right..
I have around 30+ servers running linux/unix flavours and need to be able to do this in a script that will be a cronjob.
- ssh to all 30+ servers
- do df -kh... (3 Replies)
Discussion started by: ebolasmurf
We have two servers DSERV1(red hat 8.0) and DSERV2(scounix 3.2) where DSERV1 is the NFS server and DSERV2 is the NFS client. We want to reboot these servers and wanted to know the steps(precautions) we have to follow in order to do this. After reboot should we do anything specific to... (2 Replies)
Discussion started by: jisha
8. Shell Programming and Scripting
Can any one help me.......
I just want to run one shell script whenever i am rebooting the server. Is there any easy way to do that????
selva (7 Replies)
Discussion started by: Selva_Kumar
9. Shell Programming and Scripting
I am a newbie in shell scripting and I need to produce a script to work and achieve the following:
1) Look into the file /etc/defaultrouter , and store the value in it
2) If the value is a number, go to LIST and print out the second column corresponding to the value.(eg London)
3) If the... (5 Replies)
Discussion started by: ibroxy
10. UNIX for Dummies Questions & Answers
system = AIX
How can I explain this.....
Keep in mind I do not want to login to the boxes, persay, and that I am fairly new to scripting and unix.
I want to use SSH.
I have a script on server1, this is where I want it to run from.
I have server2 and server3, where I want the script to... (2 Replies)
Discussion started by: cml2008