Re: Stoping the server through a script
2000-04-17 09:51:06
Subject: |
Re: Stoping the server through a script |
From: |
Brian Johnson <bjohnson AT AFCE DOT COM> |
Date: |
Mon, 17 Apr 2000 08:51:06 -0500 |
Scott,
This script ends backup stg if it still runs after a certain time in the day. It
gets the proc number and strips out the
comma it one exists - then enters the cancel proc command.
#!/usr/local/bin/perl
open(procs, "dsmadmc -tabdelimited -id=*** -pass=*** q pr|grep 'Backup Storage
Pool'|");
while (<procs>) {
$l=$_; chomp($l);
@record=split(/\t/, $l);
$procname="$record[0]";
$procname=~tr/,//d;
system("dsmadmc -id=*** -pass=*** can pr $procname\n");
}
Regards,
Brian Johnson
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Stoping the server through a script, Scott Fluegge
- Re: Stoping the server through a script, Lindsay Morris
- Re: Stoping the server through a script, Cook, Dwight E
- Re: Stoping the server through a script, Gary Ison
- Re: Stoping the server through a script, Lindsay Morris
- Re: Stoping the server through a script, Lindsay Morris
- Re: Stoping the server through a script,
Brian Johnson <=
- Re: Stoping the server through a script, Cook, Dwight E
- Re: Stoping the server through a script, Scott Fluegge
- Re: Stoping the server through a script, Lindsay Morris
- Re: Stoping the server through a script, Fred Johanson
- Re: Stoping the server through a script, Scott Fluegge
- Re: Stoping the server through a script, Richard Sims
- Re: Stoping the server through a script, Cook , Dwight E [SMTP:cookde
|
|
|