If the target system does not support SSH, add an entry for the remote system in your .netrc file. You can then do something like:
in your gather script.
Last edited by m.d.ludwig; 12-29-2010 at 04:41 PM..
Reason: typo
Hello script experts,
I am newbie to shell script. But I have to write a shell script (ASAP) where I need to ftp a file on daily basis to a remote server, and send an email with final status. I I should have a properties file with hostname, Userid, and pwd. And a shall script file should read... (1 Reply)
Hi Guys,
i have this lil challenge;
i am to implement an automated script that searches/scans a directory for files then picks and sends this files to a very remote server via an ftp link.
the challenge here is that the ftp link fails due to netwrk issues maybe;
i therefore need to develop... (5 Replies)
I am trying to automate a process (on windows OS) of manipulating a file by changing its column delimiters. I have a perl script ready but the problem i think is with the format of the file itself.
code:
#! usr/bin/perl -w
foreach (<STDIN>) {
#copy this line:
my $line = $_;
... (1 Reply)
I am a new member of this forum and am also new to unix shell scripting.
I joined the forum to seek for help to achieve my task as this forum helps people.
here's what i do manually on daily basis
1)Loginto different unix box
2)Ftp the log files (morethan 50 each dir) to windows
3)use text pad... (3 Replies)
CAN ANYONE HELP TO SOLVE
i wann write a script to automate a process .i.e, to search files in the FTP server and
and if files are there and we hav to bring that files to our system.
After copying the files in our system we have to upload the data in the tables.
I have scripts to load the... (0 Replies)
Plzz Some One Help in this matter
I have scripts to load the data into tables and to copy files from ftp to our system.
we use to run the scripts every day....
we hav the files in the FTP server and we hav to bring the files to our system and we hav to load the data into the tables.
We... (0 Replies)
Hi, I have about 10 directories in which I run the same code. But this code is only run in a directory when the computation in the previous directory was successful (explained below).
My directories are named as :
VF_50, VF_100, VF_150, VF_200.............
As you can see the number after _... (6 Replies)
Hi,
I am trying to create a shell script to automate the following process of getting svn stats:-
Step1:- cd to checkout location.
Note that the checked code have multiple modules in respective folders
Step2:- Execute this command inside each module:-
svn log -v --xml >... (0 Replies)
Hi, guys, I am trying to automate a sftp process using "expect" method (since the key authentication method is disabled in my company network, there is no helping it).
In order to try, I type in the command manually:
sftp @ > << EOF
>cd
>ls -l
>EOF
>Connecting to
@servername password:
... (3 Replies)
Hello All!
First post...
I am working on a script that is used to recover a crashed drive from an rsync backup.
I'm down to the place where I need to create all of the directories in /mnt where I will then mount each of the volumes and begin the restore process to each volume...
I have... (3 Replies)
Discussion started by: RogerBaran
3 Replies
LEARN ABOUT CENTOS
pcp::logsummary
LogSummary(3) User Contributed Perl Documentation LogSummary(3)NAME
PCP::LogSummary - Perl interface for pmlogsummary(1)SYNOPSIS
use PCP::LogSummary;
my $summary = new PCP::LogSummary($log, @metrics, $start, $end);
DESCRIPTION
The PCP::LogSummary module is a wrapper around the Performance Co-Pilot pmlogsummary(1) command. Its primary purpose is to automate the
production of post-processed pmlogsummary data, in particular to automate the step where the summarised data is imported into a spreadsheet
for further anaylsis. This has proven to often be an iterative process - done manually it involves much cutting+pasting, and can be a
significant time waster.
EXPORT
new
metric_instance
SEE ALSO pmlogsummary(1).
The PCP mailing list pcp@oss.sgi.com can be used for questions about this module.
Further details can be found at http://oss.sgi.com/projects/pcp
AUTHOR
Nathan Scott, <nathans@debian.org>
COPYRIGHT AND LICENSE
Copyright (C) 2008 by Aconex
This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 (see
the "COPYING" file in the PCP source tree for further details).
perl v5.16.3 2013-12-05 LogSummary(3)