Veritas-bu

[Veritas-bu] How to have a practical view with bpdbjobs

2004-01-06 10:58:25
Subject: [Veritas-bu] How to have a practical view with bpdbjobs
From: paul.weaver AT stratech DOT com (Weaver, Paul)
Date: Tue, 6 Jan 2004 10:58:25 -0500
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_01C3D46D.EB2A0830
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Jerome,
        You can set up different columns to be display using the regular
bpdbjobs -report option by adding some entries to your bp.conf file.  =
Below
is what I have in mine.  The number is suppose to represent the field =
width.

BPDBJOBS_COLDEFS =3D JobID 5 true
BPDBJOBS_COLDEFS =3D Type 4 true
BPDBJOBS_COLDEFS =3D State 5 true
BPDBJOBS_COLDEFS =3D Status 6 true
BPDBJOBS_COLDEFS =3D Policy 6 true
BPDBJOBS_COLDEFS =3D Client 6 true
BPDBJOBS_COLDEFS =3D Started 10 true
BPDBJOBS_COLDEFS =3D elapsed 8 true
BPDBJOBS_COLDEFS =3D Kilobytes 14 true
BPDBJOBS_COLDEFS =3D KBPerSec 12 true
BPDBJOBS_COLDEFS =3D StreamNumber 6 true

-Paul Weaver

-----Original Message-----
From: J=E9r=F4me Meyer [mailto:jerome.meyer AT pax DOT ch]=20
Sent: Tuesday, January 06, 2004 10:21 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] How to have a practical view with bpdbjobs


Hi=20

I'm using NetBackup 4.5 on AIX Machine, and I need to have an Overview =
with
Date,Time,Policy Name, etc... for each backup. I tried to use the =
bpdbjobs
command but sincerely ist quite not easy to read all infos with
-all_columns. The use of awk did not make the thing easier, like:

bpdbjobs -all_columns |awk '{print $1"\n",$2"\n",...,$n",\n"}'
=20
If anyone else have an idea for some scripts or other way to do that, =
I'd be
glad to hear from you.
=20
Regards,
Jerome M.
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

------_=_NextPart_001_01C3D46D.EB2A0830
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Veritas-bu] How to have a practical view with =
bpdbjobs</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Jerome,</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>You can =
set up different columns to be display using the regular bpdbjobs =
-report option by adding some entries to your bp.conf file.&nbsp; Below =
is what I have in mine.&nbsp; The number is suppose to represent the =
field width.</FONT></P>

<P><FONT SIZE=3D2>BPDBJOBS_COLDEFS =3D JobID 5 true</FONT>
<BR><FONT SIZE=3D2>BPDBJOBS_COLDEFS =3D Type 4 true</FONT>
<BR><FONT SIZE=3D2>BPDBJOBS_COLDEFS =3D State 5 true</FONT>
<BR><FONT SIZE=3D2>BPDBJOBS_COLDEFS =3D Status 6 true</FONT>
<BR><FONT SIZE=3D2>BPDBJOBS_COLDEFS =3D Policy 6 true</FONT>
<BR><FONT SIZE=3D2>BPDBJOBS_COLDEFS =3D Client 6 true</FONT>
<BR><FONT SIZE=3D2>BPDBJOBS_COLDEFS =3D Started 10 true</FONT>
<BR><FONT SIZE=3D2>BPDBJOBS_COLDEFS =3D elapsed 8 true</FONT>
<BR><FONT SIZE=3D2>BPDBJOBS_COLDEFS =3D Kilobytes 14 true</FONT>
<BR><FONT SIZE=3D2>BPDBJOBS_COLDEFS =3D KBPerSec 12 true</FONT>
<BR><FONT SIZE=3D2>BPDBJOBS_COLDEFS =3D StreamNumber 6 true</FONT>
</P>

<P><FONT SIZE=3D2>-Paul Weaver</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: J=E9r=F4me Meyer [<A =
HREF=3D"mailto:jerome.meyer AT pax DOT ch">mailto:jerome.meyer AT pax DOT 
ch</A>] =
</FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, January 06, 2004 10:21 AM</FONT>
<BR><FONT SIZE=3D2>To: veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2>Subject: [Veritas-bu] How to have a practical view =
with bpdbjobs</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hi </FONT>
</P>

<P><FONT SIZE=3D2>I'm using NetBackup 4.5 on AIX Machine, and I need to =
have an Overview with Date,Time,Policy Name, etc... for each backup. I =
tried to use the bpdbjobs command but sincerely ist quite not easy to =
read all infos with -all_columns. The use of awk did not make the thing =
easier, like:</FONT></P>

<P><FONT SIZE=3D2>bpdbjobs -all_columns |awk '{print =
$1&quot;\n&quot;,$2&quot;\n&quot;,...,$n&quot;,\n&quot;}'</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>If anyone else have an idea for some scripts or =
other way to do that, I'd be glad to hear from you.</FONT>
<BR><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>Regards,</FONT>
<BR><FONT SIZE=3D2>Jerome M.</FONT>
<BR><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Veritas-bu maillist&nbsp; -&nbsp; =
Veritas-bu AT mailman.eng.auburn DOT edu <A =
HREF=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu"; =
TARGET=3D"_blank">http://mailman.eng.auburn.edu/mailman/listinfo/veritas=
-bu</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C3D46D.EB2A0830--

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