10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi all, posting my first time, hope not breaking posting rules with it, if yes, let me know.
I'm trying to build a script to check a file in an sftp server through a remote server.
The intention is to check the file in a sftp host, and if the file is found or not, it should send an email.... (4 Replies)
Discussion started by: MrShinyPants
2. Shell Programming and Scripting
Could you please help me out in my script and identify the missing piece. I need to check/get the exit status of a remote command executed on remote host through script and send out an email when process/processes is/are not running on any/all server(s).
Here's the complete... (5 Replies)
Discussion started by: lovesaikrishna
3. Shell Programming and Scripting
Given addresses of 2 remote machines, using a shell script is it possible to
get the state of running processes in "src"
stop all the processes in "src"
exit out of "src"
ssh into "dest"
resume the state of executing processes captured in step 1 in "dest"
"src" is... (3 Replies)
Discussion started by: Saeya Darsan
4. Shell Programming and Scripting
I am automating the SFTP keys setp process:
So i created the expect script for controlling the output of shell
below is my main code:
spawn ssh servername << pb
close $df (4 Replies)
Discussion started by: Manoj Bajpai
5. Shell Programming and Scripting
I am polling a file on remote host. I have this code that works, but can't explain why it works.
while email@example.com 'ls /user/app1/.done'` ]
echo Sleeping for 5 secs
This code works in the way that when the .done file exists on the remote host, the script... (1 Reply)
Discussion started by: starlatch
6. UNIX for Advanced & Expert Users
I do a ssh to remote host(A1) from local host(L1). I then ssh to another remote(A2) from A1.
When I do a who -m from A2, I see the "connected from" as "A1".
=> who -m
userid pts/2 2010-03-27 08:47 (A1)
I want to identify who is the local host who initiated the connection to... (3 Replies)
Discussion started by: gomes1333
7. Shell Programming and Scripting
We have a centralized UNIX/Solaris server from where we can actually ssh to all other UNIX/Solaris servers...I need to write a script that reside on this centerlized server and do FileSystem monitoring (basically run df -h or -k) of other remote servers and then send an email to me... (6 Replies)
Discussion started by: anjum.suri
i am using 2 server- Solaris 5.9
i have tape device attached with 1 of my solaris server. But others not.
# modinfo|grep tape
152 13d43e4 1333c 33 1 st (SCSI tape Driver 1.231)
now i want to Backup DATA file and System File in Tape Drive.
How do I take data and... (3 Replies)
Discussion started by: thepurple
9. Shell Programming and Scripting
I have a different architecture for my perl application.
I have apache one server and data on another(not database).
i need to read the data from other machine and that too securely.
Also opening ports on apache machine is also restricted.
Can anyone help me on this (2 Replies)
Discussion started by: Aditya_IT
i am copying .gz files from production server to development server using
"scp" command.my requirement is after copying .gz files i want to delete old
.gz files(two days back) in development server from production server.
like this way i need to delelte .log ,.z and .dmp files... (3 Replies)
Discussion started by: krishna176