Re: [Veritas-bu] Client version
2009-06-09 20:55:15
I posted this to the list a while back:
root@osiris bin]# cat get-client-versions.sh #!/bin/sh
# Loop through all clients gathering the client version info
PATH=$PATH:/usr/openv/netbackup/bin:/usr/openv/netbackup/bin/admincmd
export PATH
CLIENTS=/usr/openv/local/client-versions OUT=/usr/openv/local/client-versions.csv
[ ! -d $CLIENTS ] && mkdir $CLIENTS
bpplclients -allunique -noheader | awk '{print $NF}' | \
while read client
do echo Client: $client bpgetconfig -s $client -L -A > $CLIENTS/$client done
cd $CLIENTS for f in *
do awk -f /usr/openv/local/bin/get-client-versions.awk $f done > $OUT
[root@osiris bin]# cat get-client-versions.awk
/Platform/ {PLATFORM = $5} /Client OS/ {OS = $5} /Patch/ {print FILENAME "," $4 "," OS "," PLATFORM }
On Tue, Jun 9, 2009 at 6:23 PM, Reynolds, Susan K. <SReynolds2 AT semprautilities DOT com> wrote:
Is there a quick command that can be run that will list the
current version of Netbackup for each client on the command line without having
to extract the information from the GUI or Administrative Console?
Just looking for a shortcut.
--
Ed Wilts, Mounds View, MN, USA
ewilts AT ewilts DOT org
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Veritas-bu] Can you reassure my understanding., (continued)
- Re: [Veritas-bu] Can you reassure my understanding., John Nardello
- Re: [Veritas-bu] Can you reassure my understanding., Mark Glazerman
- Re: [Veritas-bu] Can you reassure my understanding., Boris Kraizman
- Re: [Veritas-bu] Can you reassure my understanding., Dave Markham
- Re: [Veritas-bu] Can you reassure my understanding., Donaldson, Mark
- Re: [Veritas-bu] Can you reassure my understanding., Boris Kraizman
- Re: [Veritas-bu] Can you reassure my understanding., Donaldson, Mark
- [Veritas-bu] Client version, Reynolds, Susan K.
- Re: [Veritas-bu] Client version, Jim Horalek
- Re: [Veritas-bu] Client version, Reynolds, Susan K.
- Re: [Veritas-bu] Client version,
Ed Wilts <=
- Re: [Veritas-bu] Client version, Reynolds, Susan K.
- Re: [Veritas-bu] Client version, Donaldson, Mark
- Re: [Veritas-bu] Client version, judy_hinchcliffe
- Re: [Veritas-bu] Client version, Jeff Lightner
- Re: [Veritas-bu] Client version, Kendall, Scott
- Re: [Veritas-bu] Client version, Donaldson, Mark
- Re: [Veritas-bu] Client version, judy_hinchcliffe
- Re: [Veritas-bu] Client version, Donaldson, Mark
- Re: [Veritas-bu] Client version, WEAVER, Simon (external)
- Re: [Veritas-bu] Client version, Donaldson, Mark
|
|
|