[Veritas-bu] Uggg... bpdbjobs -all_columns
2004-04-13 18:08:02
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C421A3.CA2673C0
Content-Type: text/plain
my perl is a bit rusty but u could also try
bpdbjobs -report -all_columns | perl -F, -alpe'$_=$F[32]' -
-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of
Lue-Fook-Sang,
Andre
Sent: Tuesday, April 13, 2004 5:19 PM
To: 'Karl.Rossing AT Federated DOT CA'; 'veritas-bu AT mailman.eng.auburn DOT
edu'
Subject: RE: [Veritas-bu] Uggg... bpdbjobs -all_columns
Try gnu's version of awk. There is a known problem with solaris' awk for
"line too long" or "too many fields" errors.
-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of
Karl.Rossing AT Federated DOT CA
Sent: Tuesday, April 13, 2004 4:03 PM
To: 'veritas-bu AT mailman.eng.auburn DOT edu'
Subject: [Veritas-bu] Uggg... bpdbjobs -all_columns
BPDBJOBS_COLDEFS is great for writting small report on netbackup 5.0
The one thing it doesn't give me is the pathname of the stream, which would
be usefully for me to track filesystem growth on a daily basis.
bpdbjobs -all_columns is usefull since it give me the information i require.
However it isn't in a very usable format I'm after feild 33.
I took a look at the netbackup faq on
http://www.backupcentral.com/cgi-bin/netbackup-fom?_highlightWords=perl&file
=194
if i try
bpdbjobs -report -all_columns |awk -F',' '{print $33}'
awk complains that the file is too long.
it seems that in order to get the PATHNAME of the STREAM i got lern perl.
does anyone have a script that spits out something like this
KB/Sec | PATHNAME_OF_THE_STREAM | ELASPSED_TIME_COMPLETED| KB_BACKEDUP |
STATUS | POLICY | CLIENT
------_=_NextPart_001_01C421A3.CA2673C0
Content-Type: text/html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=279390422-13042004><FONT face=Arial color=#0000ff size=2>my
perl is a bit rusty but u could also try </FONT></SPAN></DIV>
<DIV><SPAN class=279390422-13042004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=279390422-13042004><FONT face=Arial color=#0000ff
size=2>bpdbjobs -report -all_columns | perl -F, -alpe'$_=$F[32]' -
</FONT></SPAN></DIV>
<DIV><SPAN class=279390422-13042004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=279390422-13042004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <B>On Behalf Of
</B>Lue-Fook-Sang, Andre<BR><B>Sent:</B> Tuesday, April 13, 2004 5:19
PM<BR><B>To:</B> 'Karl.Rossing AT Federated DOT CA';
'veritas-bu AT mailman.eng.auburn DOT edu'<BR><B>Subject:</B> RE: [Veritas-bu]
Uggg...
bpdbjobs -all_columns<BR><BR></FONT></DIV>
<DIV><SPAN class=544031421-13042004><FONT face=Arial color=#0000ff size=2>Try
gnu's version of awk. There is a known problem with solaris' awk for "line
too long" or "too many fields" errors.</FONT></SPAN></DIV>
<DIV><SPAN class=544031421-13042004></SPAN> </DIV>
<DIV><SPAN class=544031421-13042004></SPAN><SPAN
class=544031421-13042004></SPAN> </DIV>
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <B>On Behalf Of
</B>Karl.Rossing AT Federated DOT CA<BR><B>Sent:</B> Tuesday, April 13, 2004
4:03
PM<BR><B>To:</B> 'veritas-bu AT mailman.eng.auburn DOT edu'<BR><B>Subject:</B>
[Veritas-bu] Uggg... bpdbjobs -all_columns<BR><BR></FONT></DIV><BR><FONT
face=sans-serif size=2>BPDBJOBS_COLDEFS is great for writting small report on
netbackup 5.0</FONT> <BR><BR><FONT face=sans-serif size=2>The one thing it
doesn't give me is the pathname of the stream, which would be usefully for me
to
track filesystem growth on a daily basis.</FONT> <BR><BR><FONT face=sans-serif
size=2>bpdbjobs -all_columns is usefull since it give me the information i
require. However it isn't in a very usable format I'm after feild
33.</FONT> <BR><BR><FONT face=sans-serif size=2>I took a look at the netbackup
faq on
http://www.backupcentral.com/cgi-bin/netbackup-fom?_highlightWords=perl&file=194</FONT>
<BR><BR><FONT face=sans-serif size=2>if i try</FONT> <BR><BR><FONT
face=sans-serif size=2> bpdbjobs -report -all_columns |awk -F',' '{print
$33}'</FONT> <BR><BR><FONT face=sans-serif size=2>awk complains that the file
is
too long.</FONT> <BR><BR><FONT face=sans-serif size=2>it seems that in order to
get the PATHNAME of the STREAM i got lern perl.</FONT> <BR><BR><FONT
face=sans-serif size=2>does anyone have a script that spits out something like
this</FONT> <BR><FONT size=2><TT>KB/Sec | PATHNAME_OF_THE_STREAM |
ELASPSED_TIME_COMPLETED| KB_BACKEDUP | STATUS | POLICY | CLIENT</TT></FONT>
</BODY></HTML>
------_=_NextPart_001_01C421A3.CA2673C0--
|
|
|