Sssshhh... you'll anger the *nix Nazis.
Try gawk - http://gnuwin32.sourceforge.net/packages/gawk.htm
-Jonathan
________________________________
From: veritas-bu-bounces at mailman.eng.auburn.edu [mailto:veritas-bu-bounces
at mailman.eng.auburn.edu] On Behalf Of Whelan, Patrick
Sent: Thursday, January 18, 2007 11:00 AM
To: Steve Fogarty; Conner, Mike; NB List Mail
Subject: Re: [Veritas-bu] Script for Daily Backup Totals
Does that work on Windows?
Patrick Whelan
NetBackup Specialist
Architect & Engineering
+44 20 7863 5243
Of all the things I've lost, I miss my mind the most! - Unknown
There are only 10 kinds of people on earth - those who understand binary
and those who don't.
... Als sie mich holten,
gab es keinen mehr, der protestieren konnte
-- Martin Niem?ller
-----Original Message-----
From: veritas-bu-bounces at mailman.eng.auburn.edu [mailto:veritas-bu-bounces
at mailman.eng.auburn.edu] On Behalf Of Steve Fogarty
Sent: 18 January 2007 15:48
To: 'Conner, Mike'; 'NB List Mail'
Subject: Re: [Veritas-bu] Script for Daily Backup Totals
TOTAL=`/usr/openv/netbackup/bin/admincmd/bpimagelist -U -hoursago 24 | awk
'{t+=$5}END{print t/1000000}'`
Prints it out the total data backe up in GB.
Steve
________________________________
From: veritas-bu-bounces at mailman.eng.auburn.edu [mailto:veritas-bu-bounces
at mailman.eng.auburn.edu] On Behalf Of Conner, Mike
Sent: Thursday, January 18, 2007 11:06 AM
To: NB List Mail
Subject: [Veritas-bu] Script for Daily Backup Totals
I have NBU 5.1 MP5 on Windows. I was curious if anyone had a script for
getting a daily backup total. I am using bpcatlist but it comes back with a
value like 2G, 400M, 760k. Is there a command that will return a value just in
kilobytes?
Thanks
Mike
________________________________
From: veritas-bu-bounces at mailman.eng.auburn.edu [mailto:veritas-bu-bounces
at mailman.eng.auburn.edu] On Behalf Of Hindle, Greg
Sent: Thursday, January 18, 2007 9:17 AM
To: NB List Mail
Subject: [Veritas-bu] moving assigned media
Solaris 9 nb 5.0 mp6
Is there any easy way to move assigned media from one volume pool to another?
We have recreated our volume pools to meet new internal standards but I have a
bunch of tapes that cannot be moved because they are assigned. The last time I
talked to Symantec they said it was messy trying to move tapes from one pool to
another. Does anyone have a easy way to do this?
Greg
>>> This e-mail and any attachments are confidential, may contain legal,
professional or other privileged information, and are intended solely for the
addressee. If you are not the intended recipient, do not use the information
in this e-mail in any way, delete this e-mail and notify the sender. CEG-IP2
*************************************************************************************
The message is intended for the named addressee only and may not be disclosed
to or used by anyone else, nor may it be copied in any way.
The contents of this message and its attachments are confidential and may also
be subject to legal privilege. If you are not the named addressee and/or have
received this message in error, please advise us by e-mailing security at
colt.net and delete the message and any attachments without retaining any
copies.
Internet communications are not secure and COLT does not accept responsibility
for this message, its contents nor responsibility for any viruses.
No contracts can be created or varied on behalf of COLT Telecommunications, its
subsidiaries or affiliates ("COLT") and any other party by email Communications
unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate
potential viruses and unsolicited promotional emails. For more information
refer to www.colt.net or contact us on +44(0)20 7390 3900.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.eng.auburn.edu/pipermail/veritas-bu/attachments/20070118/738eb8e9/attachment.htm
|