cat
bin/jobsac
#!/bin/sh
#
use bpdbjobs -all_columns to capture the following:
#
jobid, status, policy, schedule, client, path
#
#
handle the command line argument
case
$# in
0) BACKUPSERVER="`hostname`"
;;
1) echo "$1"
BACKUPSERVER="$1"
;;
*) BACKUPSERVER="`hostname`"
;;
esac
echo "BACKUPSERVER= ${BACKUPSERVER}"
/usr/openv/netbackup/bin/admincmd/bpdbjobs
-all_columns -M ${BACKUPSERVER}| cut -d, -f1-34 | awk -F, '{print $1, $4, $5,
$6, $7, $33}'
-----Original
Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Justin Piszcz
Sent: Friday, July 20, 2007 3:21 AM
To: Clooney, David
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] bpdbjobs -all_columns
On
Fri, 20 Jul 2007, Clooney, David wrote:
>
Hi All
>
>
>
>
Does anyone have some perl code, that they wouldn't mind sharing, that
>
chops up bpdbjobs -report -all_columns, with filelist count , number of
>
tries etc,?
>
After
field 31 its difficult to calculate if anyone has something like
this
I would be interested as well.
Justin.
_______________________________________________
Veritas-bu
maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu