/.kshrc
Anthony J Segelhorst
Enterprise Systems Management Team
Phone: 937-495-1876
Email: [EMAIL PROTECTED]
This email has been scanned for all viruses by the MessageLabs SkyScan
service
"Wiggins d Anconia" <[EMAIL PROTECTED]> wrote on 05/28/2004 12:37:56
PM:
> >
> > I am trying to set up a script that will do the do a current time -1
> > routine.
> >
> > Examples:
> >
> > Current Time:
> > mmddyy:hhss
> > 052804:1030
> >
> > Output:
> > 052804:0930
> >
> >
> > Current Tim
.
Anthony J Segelhorst
Enterprise Systems Management Team
Phone: 937-495-1876
Email: [EMAIL PROTECTED]
This email has been scanned for all viruses by the MessageLabs SkyScan
service
Is there a way in Perl to have a script wait 30 seconds before it
continues processing? Like or a pause or hold?
Anthony J Segelhorst
Enterprise Systems Management Team
Phone: 937-495-1876
Email: [EMAIL PROTECTED]
This
Is there a perl call to tell if a port is open or closed built into Perl?
I am basically trying to build a perl script to monitor ports on Windows
Servers and I am trying to stay away from system commands.
Anthony J Segelhorst
Enterprise Systems Management Team
Phone: 937-495-1876
Email
>For Quality purposes, Anthony J Segelhorst 's mail on Monday 26 January
2004
>17:17 may have been monitored or recorded as:
> How come when I push a variable to an array it puts one whitespace
before
> the variables on all the lines except the first one? I would except all
&
){
$last = "$tmrname,$gateway_hash{$gateway},$version,$interp,$type\n";
#print "$last";
push(@temparray, $last);
}
@temparray = sort @temparray;
print "@temparray";
Anthony J Segelhorst
Enterprise Systems Management Team
Phone: 937-49
James Edward Gray II <[EMAIL PROTECTED]>
01/20/2004 02:11 PM
To: "Anthony J Segelhorst" <[EMAIL PROTECTED]>
cc: [EMAIL PROTECTED]
Subject:Re: counters for lines
On Jan 20, 2004, at 12:39 PM, Anthony J Segelhorst wrote:
> I
counter to count the lines
until a different line shows up. I already have the list sorted, so I
just need to compare the new string to old string and if they are the same
increase the counter, and if they are different start a new counter.
Anthony J Segelhorst
Enterprise Systems Management Team
Anthony J Segelhorst <[EMAIL PROTECTED]> wrote:
> I am trying to wrap the following Unix command into perl and having a
few
> issues:
>
> find /var/spool/Tivoli/backups -name "DB_*" -mtime +10 -print -exec ls
{} \;
>
>
> I have tried (and nothing to se
+10 -print
-exec ls {} \;`;
system `find /var/spool/Tivoli/backups -name "DB_*" -mtime +10 -print
-exec ls {} \;`
!system `find /var/spool/Tivoli/backups -name "DB_*" -mtime +10 -print
-exec ls {} \;`;
Anthony J Segelhorst
Enterprise Systems Management Team
Pho
Anthony, Mark. Please bottom-post so that people can understand
the conversation. Thanks.
Anthony J Segelhorst wrote:
>
> Mark wrote:
> >
> > Anthony J Segelhorst wrote:
> >
> > > I am strapped for time on the run time on a perl script I
> > > have been
fork though. Does anyone have any
examples?
Anthony J Segelhorst
Enterprise Systems Management Team
Phone: 937-495-1876
Email: [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
10/28/2003 03:44 AM
To: <[EMAIL PROTECTED]>
cc: <[EMAIL PROTECTED]>,
is done running. Is there a way to run script B within another shell or
process?
`c:\temp\scripta.pl`;
Anthony J Segelhorst
Enterprise Systems Management Team
Phone: 937-495-1876
Email: [EMAIL PROTECTED]
This email has
I currently have a variable called $servicename.
Example: SNMP Service = $servicename
How can add double qoutes around "SNMP Service" to the variable
$servicename?
I have tried $doubleqoutes_servicename = "$servicename";
This does not work though.
Any ideas?
get the following logic to
work? I basically need to do a print if nothing is returned, this is
where I am lost.
if ($name == ""){
print LOGFILE "The process named $process is not
running\n";
print "WinProcess-$severity-$proc
the word error as long as there are no characters before or after
the word error?
Anthony J Segelhorst
Enterprise Systems Management Team
Phone: 937-495-1876
Email: [EMAIL PROTECTED]
This email has been scanned for all
Does anyone already have a perl script that checks to see if a file exists
or not a Windows Platform?
Anthony J Segelhorst
Enterprise Systems Management Team
Phone: 937-495-1876
Email: [EMAIL PROTECTED]
This email has
ve a script that does something very similar to what I am wanting to do.
Anthony J Segelhorst
Enterprise Systems Management Team
Phone: 937-495-1876
Email: [EMAIL PROTECTED]
This email has been scanned for
L
to start build my array.
Anthony J Segelhorst
Enterprise Systems Management Team
Email: [EMAIL PROTECTED]
This email has been scanned for all viruses by the MessageLabs SkyScan
service.___
20 matches
Mail list logo