Script to Kill Jobs in Veritas Netbackup 5.1 or 6

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Locked
Swapnil
Posts: 2
Joined: Sat Apr 07, 2007 3:25 pm

Script to Kill Jobs in Veritas Netbackup 5.1 or 6

Post by Swapnil »

Hi All,

I need a script , which will kill only selected Backup jobs seen in the Activity monitor at Scheduled time.Please advise.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

windows, linux what? If windows you can use the sysinternals pskill tool in a batch file.
Swapnil
Posts: 2
Joined: Sat Apr 07, 2007 3:25 pm

Script to Kill Jobs in Veritas Netbackup 5.1 or 6

Post by Swapnil »

Hi Friend,

Many Thx!! It was on Linux & we are trying to come up with a script that will do the following
1)Run command /usr/seos/bin/sesudo bpdbjobs -report |awk '{print $1}'
2)take above output of all Job Id's in some file *.txt
3)Using Kill -9 or ./bpdbjobs -cancel job1,job2,... in script to kill individual Job Id's that we get from above or option. :-)
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

This is not the place to be asking for such help. Please keep your questions to the topic at hand, Cacti.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Locked

Who is online

Users browsing this forum: No registered users and 8 guests