Veritas-bu

[Veritas-bu] Percentage complete from the CL?

2002-02-02 22:50:38
Subject: [Veritas-bu] Percentage complete from the CL?
From: plb AT iotk DOT com (Peter L. Buschman)
Date: Sun, 03 Feb 2002 04:50:38 +0100
--=====================_315121430==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed


Jason:

I've added a new script called "nbux_top" to the examples directory of the 
NBUX distribution.

You'll need version 0.3 of NBUX which can be downloaded here: 
https://sourceforge.net/projects/nbux/

I think the output looks pretty good (I even added a speed calculation in 
there for kicks.)

   JOBID      STATE     CLIENT      CLASS    ELAPSED  PERCENT      SPEED
-------------------------------------------------------------------------------
    1288     active   sunshine   Sunshine   00:00:53       8%   0.04MB/s

There wasn't much else I could cram in there to fit an 80-column terminal, 
but the code is so simple
it can easily be extended (Just pull the relevent fields out of the job 
hash. It's all there for you.  NBUX takes
care of all the parsing.)

If you make any cool or useful modifications, please send them back to me 
so I can put them in the contrib
directory of the distribution for others to use.*

Best regards,

--PLB



At 02:37 PM 02/01/2002 -0500, Jason Ahrens wrote:
>That would be a good start. If it's trivial I can likely just take what I
>get and modify as I think of other things I'd like.
>
>Thanks
>
>Jason
>
> > -----Original Message-----
> > From: Williams, Kris [mailto:Kris.Williams AT iams DOT com]
> > Sent: February 1, 2002 14:12
> > To: 'Peter L. Buschman'; Jason Ahrens; Veritas BU
> > Subject: RE: [Veritas-bu] Percentage complete from the CL?
> >
> >
> > I would think it would be good to show the class thats
> > running, the percentage
> > complete, Master Server. IMHO
> >
> > -----Original Message-----
> > From: Peter L. Buschman [mailto:plb AT iotk DOT com]
> > Sent: Friday, February 01, 2002 1:23 PM
> > To: Jason Ahrens; Veritas BU
> > Subject: Re: [Veritas-bu] Percentage complete from the CL?
> >
> >
> >
> > Jason:
> >
> > Veritas doesn't provide an easy way to do this.  However, it
> > is a fairly
> > trivial exercise
> > using NBUX.
> >
> > If you can tell me exactly which fields from the GUI you
> > would like to see
> > on your terminal,
> > I'll write a quick top-like utility to show you that
> > information from your
> > terminal window.
> >
> > Best regards,
> >
> > --PLB
> >
> > At 11:14 AM 02/01/2002 -0500, Jason Ahrens wrote:
> > >NetBackup DC 3.4.1, Solaris master/media servers
> > >
> > > >From the various GUI's, I can view some details about the
> > progress of a job
> > >(files backed up, estimated % complete, etc...)
> > >
> > >How do I view these 'in progress' statistics from the
> > command line? Often
> > >the operators are using the NT system set up for controlling
> > NetBackup, and
> > >I don't always have access to an X display.
> > >
> > >Thanks
> > >
> > >Jason
> > >
> > >--
> > >Jason Ahrens, Systems Analyst
> > >TELUS Enterprise Solutions
> > >http://www.telus.com
> > >The Future is Friendly
> > >
> > >_______________________________________________
> > >Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> > >http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> >
> > _______________________________________________
> > Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> >
>_______________________________________________
>Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
>http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

--=====================_315121430==_.ALT
Content-Type: text/html; charset="us-ascii"

<html>
<br>
Jason:<br>
<br>
I've added a new script called &quot;nbux_top&quot; to the examples
directory of the NBUX distribution.<br>
<br>
You'll need version 0.3 of NBUX which can be downloaded here:
<a href="https://sourceforge.net/projects/nbux/"; 
eudora="autourl">https://sourceforge.net/projects/nbux/</a><br>
<br>
I think the output looks pretty good (I even added a speed calculation in
there for kicks.)<br>
<br>
<tt>&nbsp; JOBID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
STATE&nbsp;&nbsp;&nbsp;&nbsp; CLIENT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
CLASS&nbsp;&nbsp;&nbsp; ELAPSED&nbsp;
PERCENT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SPEED<br>
-------------------------------------------------------------------------------<br>
&nbsp;&nbsp; 1288&nbsp;&nbsp;&nbsp;&nbsp; active&nbsp;&nbsp;
sunshine&nbsp;&nbsp; Sunshine&nbsp;&nbsp;
00:00:53&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8%&nbsp;&nbsp; 
0.04MB/s<br>
<br>
</tt>There wasn't much else I could cram in there to fit an 80-column
terminal, but the code is so simple<br>
it can easily be extended (Just pull the relevent fields out of the job
hash. It's all there for you.&nbsp; NBUX takes<br>
care of all the parsing.)<br>
<br>
If you make any cool or useful modifications, please send them back to me
so I can put them in the contrib<br>
directory of the distribution for others to use.*<br>
<br>
Best regards,<br>
<br>
--PLB<br>
<br>
<br>
<br>
At 02:37 PM 02/01/2002 -0500, Jason Ahrens wrote:<br>
<blockquote type=cite class=cite cite>That would be a good start. If it's
trivial I can likely just take what I<br>
get and modify as I think of other things I'd like.<br>
<br>
Thanks<br>
<br>
Jason<br>
<br>
&gt; -----Original Message-----<br>
&gt; From: Williams, Kris
[<a href="mailto:Kris.Williams AT iams DOT com" 
eudora="autourl">mailto:Kris.Williams AT iams DOT com</a>]<br>
&gt; Sent: February 1, 2002 14:12<br>
&gt; To: 'Peter L. Buschman'; Jason Ahrens; Veritas BU<br>
&gt; Subject: RE: [Veritas-bu] Percentage complete from the CL?<br>
&gt; <br>
&gt; <br>
&gt; I would think it would be good to show the class thats <br>
&gt; running, the percentage<br>
&gt; complete, Master Server. IMHO<br>
&gt; <br>
&gt; -----Original Message-----<br>
&gt; From: Peter L. Buschman
[<a href="mailto:plb AT iotk DOT com" eudora="autourl">mailto:plb AT iotk DOT 
com</a>]<br>
&gt; Sent: Friday, February 01, 2002 1:23 PM<br>
&gt; To: Jason Ahrens; Veritas BU<br>
&gt; Subject: Re: [Veritas-bu] Percentage complete from the CL?<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Jason:<br>
&gt; <br>
&gt; Veritas doesn't provide an easy way to do this.&nbsp; However, it
<br>
&gt; is a fairly <br>
&gt; trivial exercise<br>
&gt; using NBUX.<br>
&gt; <br>
&gt; If you can tell me exactly which fields from the GUI you <br>
&gt; would like to see <br>
&gt; on your terminal,<br>
&gt; I'll write a quick top-like utility to show you that <br>
&gt; information from your <br>
&gt; terminal window.<br>
&gt; <br>
&gt; Best regards,<br>
&gt; <br>
&gt; --PLB<br>
&gt; <br>
&gt; At 11:14 AM 02/01/2002 -0500, Jason Ahrens wrote:<br>
&gt; &gt;NetBackup DC 3.4.1, Solaris master/media servers<br>
&gt; &gt;<br>
&gt; &gt; &gt;From the various GUI's, I can view some details about the
<br>
&gt; progress of a job<br>
&gt; &gt;(files backed up, estimated % complete, etc...)<br>
&gt; &gt;<br>
&gt; &gt;How do I view these 'in progress' statistics from the <br>
&gt; command line? Often<br>
&gt; &gt;the operators are using the NT system set up for controlling
<br>
&gt; NetBackup, and<br>
&gt; &gt;I don't always have access to an X display.<br>
&gt; &gt;<br>
&gt; &gt;Thanks<br>
&gt; &gt;<br>
&gt; &gt;Jason<br>
&gt; &gt;<br>
&gt; &gt;--<br>
&gt; &gt;Jason Ahrens, Systems Analyst<br>
&gt; &gt;TELUS Enterprise Solutions<br>
&gt;
&gt;<a href="http://www.telus.com/"; 
eudora="autourl">http://www.telus.com</a><br>
&gt; &gt;The Future is Friendly<br>
&gt; &gt;<br>
&gt; &gt;_______________________________________________<br>
&gt; &gt;Veritas-bu maillist&nbsp; -&nbsp;
Veritas-bu AT mailman.eng.auburn DOT edu<br>
&gt;
&gt;<a href="http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"; 
eudora="autourl">http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</a><br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; Veritas-bu maillist&nbsp; -&nbsp;
Veritas-bu AT mailman.eng.auburn DOT edu<br>
&gt;
<a href="http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"; 
eudora="autourl">http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</a><br>
&gt; <br>
_______________________________________________<br>
Veritas-bu maillist&nbsp; -&nbsp; Veritas-bu AT mailman.eng.auburn DOT edu<br>
<a href="http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"; 
eudora="autourl">http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu</a></blockquote></html>

--=====================_315121430==_.ALT--