I have a program that i have to run by cron. The program needs user input. So i have to automate that in a littke script.
start of script program.sh:
result=program.log; export result
echo Program starting : `date` >> $result
/usr/local/program >> $result
echo Program running : `date` >>... (11 Replies)
I am trying to use a here document to automate testing a perl script however when the perl script hits a system(perl subscript.pl) call, input is no longer entered into this subscript.
here is my script
$ cat test.sh
#ksh
for testcase
do
program <<-EOF | tee -a funcscnlog.log
y... (3 Replies)
I would like to automate script where i do not have to manually insert the username and password I wrote two different scripts but not able to achieve the results: here's to scripts i wrote
#!/bin/bash
cd /var/tmp
/home/server/steve/pca --askauth -idx
/opt/app/bin/expect <<EOF
expect... (1 Reply)
I would like to automate script where i do not have to manually insert the username and password I wrote two different scripts but not able to achieve the results: here's to scripts i wrote
#!/bin/bash
cd /var/tmp
/home/server/steve/pca --askauth -idx
/opt/app/bin/expect <<EOF
expect... (3 Replies)
Hi All,
./procdure.ksh which opens the below the menu, I want to build a script which will press 4 and run the Sector Data Automatically (instead of pressing option 4 manually)
Is there any way for this, please let me know...
1) FX Rates MDU 9) Fidessa Cash... (7 Replies)
Hi All,
Can I automate a script when some one trying to 'vi' (open) a file.
For Example, I am having a file named 'SecuredShell.sh'.
when a user types " vi SecuredShell.sh " in unix command prompt a script named secure.sh needs to be automated.
Can this be possible. if Yes please guide... (2 Replies)
Hi,
Here below the logs from the mail server:
less /var/log/messages:
Sep 6 04:03:31 server-59 out: 1252227811|webmaster@zilia.com|antonino.granata@gmail.com|2175|success|1
Sep 6 04:03:33 server-59 in: 1252227813|news@tarot.com|junk@thess.com|30376|success|1
Sep 6 04:03:35 server-59... (8 Replies)
Hi AIX Guru's,
I am a bit new to this AIX stuff . Does anyone of you know how to send SMS
messages from an AIX box. We are able to send emails to the internet from
this AIX box , and I was hoping sending SMS's would be something similar
Any help would be greatly appreciated .
Please... (4 Replies)
Dear all,
I I want to login to my Linux machine using putty and then run some script from Windows machine.we can do it after loging it and then execute the script by typing it in putty command line screen. but I want to automate it.So whenever I will fire this script,it will do the following... (4 Replies)
Discussion started by: smartgupta
4 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)