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_01C5BEBB.DBA632D2
Content-Type: text/plain;
charset="iso-8859-1"
Pretty output version:
#!/bin/ksh
PATH=$PATH:/usr/openv/netbackup/bin:/usr/openv/netbackup/bin/admincmd
for c in `bpplclients -allunique -noheader |awk '{print $3}'|sort|uniq `
do
bppllist -byclient $c|\
awk 'NR==1 && $1=="CLASS" {printf "%20s\t%s\n","'$c'",$2}
NR>1 && $1=="CLASS" {printf "%20s\t%s\n"," ",$2}'
echo
done
-----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
Steve.Bally AT radisys DOT com
Sent: Tuesday, September 20, 2005 12:31 PM
To: Veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Client list and associated policies
All,
NBU 5.1
MP3A
Windows 2003 Master
I am trying to get a list of ALL clients and ALL the policies that the
particular client is associated with, is there a command that can do this
and dump it to a file?
Regards,
Steve Bally
Systems Engineer
RadiSys Corporation
www.radisys.com
steve.bally AT radisys DOT com
Desk: 503-615-1207
Cell: 503-970-6201
This electronic message (Email) contains information which may be
confidential, privileged or otherwise protected from disclosure. The
information is intended to be used solely by the named recipient(s). If you
are not a named recipient, any review, disclosure, copying, distribution or
use of this transmission or its contents is prohibited. If you have received
this transmission (Email) in error, please notify me immediately.
------_=_NextPart_001_01C5BEBB.DBA632D2
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">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=331505014-21092005><FONT face=Arial color=#0000ff
size=2>Pretty
output version:</FONT></SPAN></DIV>
<DIV><SPAN class=331505014-21092005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=331505014-21092005><FONT face=Arial color=#0000ff
size=2>#!/bin/ksh</FONT></SPAN></DIV>
<DIV><SPAN class=331505014-21092005><FONT face=Arial color=#0000ff
size=2>PATH=$PATH:/usr/openv/netbackup/bin:/usr/openv/netbackup/bin/admincmd<BR></FONT></SPAN><SPAN
class=331505014-21092005><FONT face=Arial color=#0000ff size=2>for c in
`bpplclients -allunique -noheader |awk '{print $3}'|sort|uniq `<BR>do<BR>
bppllist -byclient $c|\<BR> awk 'NR==1 &&
$1=="CLASS" {printf
"%20s\t%s\n","'$c'",$2}<BR>
NR>1 && $1=="CLASS" {printf "%20s\t%s\n"," ",$2}'<BR>
echo<BR>done<BR></FONT></SPAN></DIV>
<DIV><SPAN class=331505014-21092005><FONT face=Arial color=#0000ff
size=2> </DIV></FONT></SPAN>
<BLOCKQUOTE>
<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>Steve.Bally AT radisys DOT com<BR><B>Sent:</B> Tuesday, September 20,
2005 12:31
PM<BR><B>To:</B> Veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B>
[Veritas-bu] Client list and associated
policies<BR><BR></FONT></DIV><BR><FONT
face=sans-serif size=2>All,</FONT> <BR><BR><FONT face=sans-serif size=2>NBU
5.1</FONT> <BR><FONT face=sans-serif size=2>MP3A</FONT> <BR><FONT
face=sans-serif size=2>Windows 2003 Master</FONT> <BR><BR><FONT
face=sans-serif size=2>I am trying to get a list of ALL clients and ALL the
policies that the particular client is associated with, is there a command
that can do this and dump it to a file?</FONT> <BR><BR><FONT face=sans-serif
size=2>Regards,</FONT> <BR><FONT face=sans-serif size=2><BR>Steve
Bally<BR>Systems Engineer<BR>RadiSys
Corporation<BR>www.radisys.com<BR>steve.bally AT radisys DOT com<BR>Desk:
503-615-1207 <BR>Cell: 503-970-6201<BR><BR>This electronic message (Email)
contains information which may be confidential, privileged or otherwise
protected from disclosure. The information is intended to be used solely by
the named recipient(s). If you are not a named recipient, any review,
disclosure, copying, distribution or use of this transmission or its contents
is prohibited. If you have received this transmission (Email) in error,
please
notify me immediately.</FONT></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C5BEBB.DBA632D2--
|