This is a multi-part message in MIME format.
------_=_NextPart_001_01C5D4EE.DDEFDCF2
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Had to modify it to the following to work in my environment... claimed
something in your imagelist awk was incorrectly formatted..
=0D
bpimagelist -d <start date> -e <end date> | awk '{if ($1=3D=3D"IMAGE")
printf("%20s %30s %25s %3d:%2d:%2d
%15d\n",$2,$7,$11,int($15/3600),int(($15/60)%60),$15%60,$19)}'
=0D
also changed the width of the client/schedule fields to compensate for
our environment here.. but the above version works fine on my four
masters..
-----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
Mark.Donaldson AT cexp DOT com
Sent: Wednesday, October 19, 2005 3:25 PM
To: pkeating AT bank-banque-canada DOT ca;
veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] capturing commands sent by java GUI
=0D
=0D
I just figured this out, needing the same thing.
=0D
Start jnbSA with the "-l <logfile>" and "-lc" option and you can
see everything it does.
=0D
In an answer to your example report,=0D
=0D
bpimagelist -d <start date> -e <end date> -U is close (no
duration).
=0D
If you want duration:
=0D
bpimagelist -d <start date> -e <end date> | awk '$1=3D=3D"IMAGE"
{printf("%20s %20s %15s %3d:%2d:%2d
\n",$2,$7,$11,int($15/3600),int($15/60)%60),$15%60}'
=0D
Columns are client, policy, schedule, HHH:MM:SS and there's
formatting problems with no leading zeros on the single-digit numbers
that needs fixed.
=0D
In general, bpimagelist can take data ranges and $15 is your
duration value in seconds.
=0D
-M
-----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 Paul
Keating
Sent: Monday, October 17, 2005 12:28 PM
To: Veritas List
Subject: [Veritas-bu] capturing commands sent by java
GUI
=0D
=0D
I remember one time, maybe in a Veritas course, talking
about some log, or means by which you could see the commands being sent
to the NB server by the java GUI, when running reports, or whatever.
=0D
I'm trying to relearn a bunch of command line stuff I
seem to have forgotten in the years since I had previously worked with
Netbackup 3.4
=0D
ie. looking to run a report that would give me the start
time and duration of each job that ran between say 20:00 Friday night,
and 20:00 Saturday night.
=0D
I can get it from the reports in the GUI, but I want to
see what command is being used to collect that info.
=0D
Paul
E-MAIL CONFIDENTIALITY NOTICE: The contents of this e-mail message and any=
attachments are intended solely for the=0D
addressee(s) and may contain confidential and/or legally privileged=
information. If you are not the=0D
intended recipient of this message or if this message has been addressed to=
you in error, please=0D
immediately alert the sender by reply e-mail and then delete this message=
and any attachments. If you=0D
are not the intended recipient, you are notified that any use,=
dissemination, distribution, copying, or=0D
storage of this message or any attachment is strictly prohibited.
------_=_NextPart_001_01C5D4EE.DDEFDCF2
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1523" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D973554920-19102005><FONT face=3DArial color=3D#0000ff=
size=3D2>Had to=0D
modify it to the following to work in my environment... claimed something=
in=0D
your imagelist awk was incorrectly formatted..</FONT></SPAN></DIV>
<DIV><SPAN class=3D973554920-19102005><FONT face=3DArial color=3D#0000ff=0D
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D973554920-19102005><FONT face=3D"Lucida Console"=0D
size=3D1><EM>bpimagelist -d <start date> -e <end=
date> | awk=0D
'{if ($1=3D=3D"IMAGE") printf("%20s %30s %25s %3d:%2d:%2d=0D
%15d\n",$2,$7,$11,int($15/3600),int(($15/60)%60),$15%60,$19)}'</EM></FONT><=
/SPAN></DIV>
<DIV><SPAN class=3D973554920-19102005><FONT face=3DArial color=3D#0000ff=0D
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D973554920-19102005><FONT face=3DArial color=3D#0000ff=
size=3D2>also=0D
changed the width of the client/schedule fields to compensate for our=0D
environment here.. but the above version works fine on my four=0D
masters..</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=
=3Dleft><FONT=0D
face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=0D
veritas-bu-admin AT mailman.eng.auburn DOT edu=0D
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <B>On Behalf Of=0D
</B>Mark.Donaldson AT cexp DOT com<BR><B>Sent:</B> Wednesday, October 19,
2005=
3:25=0D
PM<BR><B>To:</B> pkeating AT bank-banque-canada DOT ca;=0D
veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> RE:
[Veritas-bu]=0D
capturing commands sent by java GUI<BR><BR></FONT></DIV>
<DIV><SPAN class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff=
size=3D2>I=0D
just figured this out, needing the same thing.</FONT></SPAN></DIV>
<DIV><SPAN class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff=
=0D
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff=
=0D
size=3D2>Start jnbSA with the "-l <logfile>" and "-lc" option and=
you can=0D
see everything it does.</FONT></SPAN></DIV>
<DIV><SPAN class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff=
=0D
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff=
size=3D2>In=0D
an answer to your example report, </FONT></SPAN></DIV>
<DIV><SPAN class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff=
=0D
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff=
=0D
size=3D2>bpimagelist -d <start date> -e <end date> -U is=
close (no=0D
duration).</FONT></SPAN></DIV>
<DIV><SPAN class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff=
=0D
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff=
size=3D2>If=0D
you want duration:</FONT></SPAN></DIV>
<DIV><SPAN class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff=
=0D
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff=
=0D
size=3D2>bpimagelist -d <start date> -e <end date> | awk=0D
'$1=3D=3D"IMAGE" {printf("%20s %20s %15s %3d:%2d:%2d=0D
\n",$2,$7,$11,int($15/3600),int($15/60)%60),$15%60}'</FONT></SPAN></DIV>
<DIV><SPAN class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff=
=0D
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff=
=0D
size=3D2>Columns are client, policy, schedule, HHH:MM:SS and=
there's=0D
formatting problems with no leading zeros on the single-digit numbers=
that=0D
needs fixed.</FONT></SPAN></DIV>
<DIV><SPAN class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff=
=0D
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D232300220-19102005></SPAN><SPAN=0D
class=3D232300220-19102005></SPAN><SPAN class=
=3D232300220-19102005></SPAN><SPAN=0D
class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff size=3D2>In=
general,=0D
bpimagelist can take data ranges and $15 is your duration value in=0D
seconds.</FONT></SPAN></DIV>
<DIV><SPAN class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff=
=0D
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D232300220-19102005><FONT face=3DArial color=3D#0000ff=
=0D
size=3D2>-M</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT face=
=3DTahoma=0D
size=3D2>-----Original Message-----<BR><B>From:</B>=0D
veritas-bu-admin AT mailman.eng.auburn DOT edu=0D
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]<B>On Behalf Of=
</B>Paul=0D
Keating<BR><B>Sent:</B> Monday, October 17, 2005 12:28 PM<BR><B>To:</B>=
=0D
Veritas List<BR><B>Subject:</B> [Veritas-bu] capturing commands sent by=
java=0D
GUI<BR><BR></FONT></DIV>
<DIV><SPAN class=3D336022518-17102005><FONT face=3DArial size=3D2>I=
remember one=0D
time, maybe in a Veritas course, talking about some log, or means by=
which=0D
you could see the commands being sent to the NB server by the java GUI,=
when=0D
running reports, or whatever.</FONT></SPAN></DIV>
<DIV><SPAN class=3D336022518-17102005><FONT face=3DArial=0D
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D336022518-17102005><FONT face=3DArial size=3D2>I'm=
trying to=0D
relearn a bunch of command line stuff I seem to have forgotten in the=
years=0D
since I had previously worked with Netbackup 3.4</FONT></SPAN></DIV>
<DIV><SPAN class=3D336022518-17102005><FONT face=3DArial=0D
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D336022518-17102005><FONT face=3DArial size=3D2>ie.=
looking to=0D
run a report that would give me the start time and duration of=
each=0D
job that ran between say 20:00 Friday night, and 20:00=
Saturday=0D
night.</FONT></SPAN></DIV>
<DIV><SPAN class=3D336022518-17102005><FONT face=3DArial=0D
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D336022518-17102005><FONT face=3DArial size=3D2>I can=
get it=0D
from the reports in the GUI, but I want to see what command is being=
used to=0D
collect that info.</FONT></SPAN></DIV>
<DIV><SPAN class=3D336022518-17102005><FONT face=3DArial=0D
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D336022518-17102005><FONT face=3DArial=0D
size=
=3D2>Paul</FONT></SPAN></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
<table><tr><td bgcolor=3D#ffffff><font color=3D#000000>E-MAIL=
CONFIDENTIALITY NOTICE: The contents of this e-mail message and any=
attachments are intended solely for the <br>
addressee(s) and may contain confidential and/or legally privileged=
information. If you are not the <br>
intended recipient of this message or if this message has been addressed to=
you in error, please <br>
immediately alert the sender by reply e-mail and then delete this message=
and any attachments. If you <br>
are not the intended recipient, you are notified that any use,=
dissemination, distribution, copying, or <br>
storage of this message or any attachment is strictly prohibited.<br>
</font></td></tr></table>
------_=_NextPart_001_01C5D4EE.DDEFDCF2--
|