Veritas-bu

[Veritas-bu] capturing commands sent by java GUI

2005-10-19 16:24:38
Subject: [Veritas-bu] capturing commands sent by java GUI
From: Mark.Donaldson AT cexp DOT com (Mark.Donaldson AT cexp DOT com)
Date: Wed, 19 Oct 2005 14:24:38 -0600
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_01C5D4EB.20B319FE
Content-Type: text/plain;
        charset="iso-8859-1"

I just figured this out, needing the same thing.
 
Start jnbSA with the "-l <logfile>" and "-lc" option and you can see
everything it does.
 
In an answer to your example report, 
 
bpimagelist -d <start date> -e <end date> -U is close (no duration).
 
If you want duration:
 
bpimagelist -d <start date> -e <end date> | awk '$1=="IMAGE" {printf("%20s
%20s %15s %3d:%2d:%2d \n",$2,$7,$11,int($15/3600),int($15/60)%60),$15%60}'
 
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.
 
In general, bpimagelist can take data ranges and $15 is your duration value
in seconds.
 
-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


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.
 
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
 
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.
 
I can get it from the reports in the GUI, but I want to see what command is
being used to collect that info.
 
Paul


------_=_NextPart_001_01C5D4EB.20B319FE
Content-Type: text/html;
        charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1515" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=232300220-19102005><FONT face=Arial color=#0000ff size=2>I 
just 
figured this out, needing the same thing.</FONT></SPAN></DIV>
<DIV><SPAN class=232300220-19102005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=232300220-19102005><FONT face=Arial color=#0000ff size=2>Start 
jnbSA with the "-l &lt;logfile&gt;" and "-lc" option and you can see everything 
it does.</FONT></SPAN></DIV>
<DIV><SPAN class=232300220-19102005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=232300220-19102005><FONT face=Arial color=#0000ff size=2>In an 
answer to your example report, </FONT></SPAN></DIV>
<DIV><SPAN class=232300220-19102005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=232300220-19102005><FONT face=Arial color=#0000ff 
size=2>bpimagelist -d &lt;start date&gt; -e &lt;end date&gt; -U is close (no 
duration).</FONT></SPAN></DIV>
<DIV><SPAN class=232300220-19102005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=232300220-19102005><FONT face=Arial color=#0000ff size=2>If 
you 
want duration:</FONT></SPAN></DIV>
<DIV><SPAN class=232300220-19102005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=232300220-19102005><FONT face=Arial color=#0000ff 
size=2>bpimagelist -d &lt;start date&gt; -e &lt;end date&gt; | awk '$1=="IMAGE" 
{printf("%20s %20s %15s %3d:%2d:%2d 
\n",$2,$7,$11,int($15/3600),int($15/60)%60),$15%60}'</FONT></SPAN></DIV>
<DIV><SPAN class=232300220-19102005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=232300220-19102005><FONT face=Arial color=#0000ff 
size=2>Columns are client, policy, schedule, HHH:MM:SS&nbsp; and there's 
formatting problems with no leading zeros on the single-digit numbers that 
needs 
fixed.</FONT></SPAN></DIV>
<DIV><SPAN class=232300220-19102005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=232300220-19102005></SPAN><SPAN 
class=232300220-19102005></SPAN><SPAN class=232300220-19102005></SPAN><SPAN 
class=232300220-19102005><FONT face=Arial color=#0000ff size=2>In general, 
bpimagelist can take data ranges and $15 is your duration value in 
seconds.</FONT></SPAN></DIV>
<DIV><SPAN class=232300220-19102005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=232300220-19102005><FONT face=Arial color=#0000ff 
size=2>-M</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader 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>Paul 
  Keating<BR><B>Sent:</B> Monday, October 17, 2005 12:28 PM<BR><B>To:</B> 
  Veritas List<BR><B>Subject:</B> [Veritas-bu] capturing commands sent by java 
  GUI<BR><BR></FONT></DIV>
  <DIV><SPAN class=336022518-17102005><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
  <DIV><SPAN class=336022518-17102005><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=336022518-17102005><FONT face=Arial size=2>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</FONT></SPAN></DIV>
  <DIV><SPAN class=336022518-17102005><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=336022518-17102005><FONT face=Arial size=2>ie. looking to 
run 
  a report that would give&nbsp;me the start time and duration of each 
  job&nbsp;that ran between&nbsp;say 20:00 Friday night, and 20:00 Saturday 
  night.</FONT></SPAN></DIV>
  <DIV><SPAN class=336022518-17102005><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=336022518-17102005><FONT face=Arial size=2>I can get it from 
  the reports in the GUI, but I want to see what command is being used to 
  collect that info.</FONT></SPAN></DIV>
  <DIV><SPAN class=336022518-17102005><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=336022518-17102005><FONT face=Arial 
  size=2>Paul</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C5D4EB.20B319FE--

<Prev in Thread] Current Thread [Next in Thread>