Veritas-bu

[Veritas-bu] Scripts to gather throughput information for backups....

2006-11-16 14:16:04
Subject: [Veritas-bu] Scripts to gather throughput information for backups....
From: bobbyrjw at bellsouth.net (Bobby Williams)
Date: Thu, 16 Nov 2006 14:16:04 -0500
I use this korn shell script to get info from all of my masters at one time.  I 
only collect stats on jobs that are over 1GB.  I also only get jobs with a 
status of 1 or 0.  That keeps active jobs out of the mix.


set -A masters {list of master servers to check}
echo "Media Server;Client;KB Backed Up;KB/sec;Policy;Schedule" > /tmp/log.file
let count=0
while (( $count < ${#masters[*]} ))
do
(bpdbjobs -report -most_columns -M ${masters[count]} | awk -F, ' $4<=1 && $15 >=
1000000 { print $8";"$7";"$15";"$35";"$5";"$6 }') >> /tmp/log.file
let count="count +1"
done


Works real well with output that can put pasted into excel and text-to-data 
converted with the ";" as the delimiter.

Bobby.


From: "ZIMMER, RANDY K [AG/1000]" <randy.k.zimmer at monsanto.com>
Date: 2006/11/16 Thu PM 01:41:07 EST
To: "ZIMMER, RANDY K [AG/1000]" <randy.k.zimmer at monsanto.com>, 
   <veritas-bu at mailman.eng.auburn.edu>
Subject: Re: [Veritas-bu] Scripts to gather throughput information for
        backups....



Randy Zimmer

Unix System Administrator

Monsanto Enterprise Infrastructure Team

Office:  314-694-3109

Pager:  314-294-7966

rkzimm at monsanto.com

        -----Original Message-----
From: ZIMMER, RANDY K [AG/1000]
Sent: Wednesday, November 15, 2006 1:29 PM
To: 'veritas-bu at mailman.eng.auburn.edu'
Subject: Scripts to gather throughput information for backups....

        All,

        I'm looking for information that will gather throughput stats for a
24 hour period, an example being how many M/B's per second was I backing up.
Any help would be greatly appreciated.

        Thanks,

        Randy Zimmer

        Unix System Administrator

        Monsanto Enterprise Infrastructure Team

        Office:  314-694-3109

        Pager:  314-294-7966

        rkzimm at monsanto.com


---------------------------------------------------------------------------------------------------------
This e-mail message may contain privileged and/or confidential information, and 
is intended to be received only by persons entitled to receive such 
information. If you have received this e-mail in error, please notify the 
sender immediately. Please delete it and all attachments from any servers, hard 
drives or any other media. Other use of this e-mail by you is strictly 
prohibited.


All e-mails and attachments sent and received are subject to monitoring, 
reading and archival by Monsanto. The recipient of this e-mail is solely 
responsible for checking for the presence of "Viruses" or other "Malware". 
Monsanto accepts no liability for any damage caused by any such code 
transmitted by or accompanying this e-mail or any attachment.
---------------------------------------------------------------------------------------------------------




Bobby Williams
2205 Peterson Drive
Chattanooga, TN  37421 


<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] Scripts to gather throughput information for backups...., Bobby Williams <=