11-13-2008
I just changed this line to include the $
ftp -v -n $host << cmd
now I get
ftp: /home/paul/xml/xmlstorelist: unknown host
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I need to copy a file ( say 1MB file ) to multiple hosts( no of machines is huge).
What would be the most optimal way of doing it with minimal user intervention ?
Thanks,
Sumit (5 Replies)
Discussion started by: sumsriva
5 Replies
2. Shell Programming and Scripting
I am trying get "df -k" output from multiple hosts along with their hostnames via ssh, my script is appending the "df -k" output from all the nodes to a single file but not getting the hostnames for those nodes, just wondering how to pass more than one command via ssh or may be someone could come... (6 Replies)
Discussion started by: barkath
6 Replies
3. Shell Programming and Scripting
Hi Expert,
How to create a script to reboot multiple hosts in linux?
Thank you. (5 Replies)
Discussion started by: regmaster
5 Replies
4. UNIX for Dummies Questions & Answers
We recently had an smtp server go down and didn't have a backup. Now that the backup server is up and running, I'd like to set up sendmail on our Solaris 10 servers to failover to the backup mail (smtp) server if the primary refuses connections.
I've googled "mailhost" and haven't found... (0 Replies)
Discussion started by: the.gooch
0 Replies
5. UNIX for Dummies Questions & Answers
Hello,
This question has been posted by another member previously, but no reply/answer was posted to that thread and it has been closed. Searches do not seem to turn up a straight answer as to whether or not this is possible.
So I ask the same question:
We recently had our SMTP server go... (2 Replies)
Discussion started by: kwasserb
2 Replies
6. Shell Programming and Scripting
Background:
I am writing a script to help me automate tweaks and things I apply to a custom Android rom I developed. I am on the very last part of my script, and I am stuck trying to find the right command to do what I seek.
When I build roms from source, a file called updater-script is... (8 Replies)
Discussion started by: Silverlink34
8 Replies
7. Shell Programming and Scripting
Hi,
I am trying to count the number of times a string of letters occurs in a file for multiple unique strings of letters. Right now I can do this one at a time using the following code (in this example I am searching for the string "AAA"):
echo AAA >> outfile.txt
grep -c "AAA" -r... (4 Replies)
Discussion started by: gecko1
4 Replies
8. UNIX for Dummies Questions & Answers
Hi guys - I am having a hard time trying to figure how to search for a certain string on config files hosted on multiple hosts.
This is an example:
Hostnames: myhost1.mycompany.com|myhost2.mycompany.com|myhost3.mycompany.com
String to search for: myipaddress.somehost.com
Directory... (9 Replies)
Discussion started by: DallasT
9 Replies
9. Shell Programming and Scripting
I created a script to check for tsm backup status on linux hosts. Script uses a source file to connect to each host and run a dsmc command on each host and write the output back to a output file located on the parent server where the script is running. The script works fine for the first 2 hosts... (4 Replies)
Discussion started by: svajhala
4 Replies
10. Shell Programming and Scripting
Hello,
I am trying to login to multiple servers and i have to run multiple loops to gather some details..Could you please help me out.
I am specifically facing issues while running for loops.
I have to run multiple for loops in else condition. but the below code is giving errors in for... (2 Replies)
Discussion started by: mohit_vardhani
2 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)