Back to Bob's...
Place whatever var you want in PRINT , note the comma in quotes, poor mans CSV file.
Stick the header row in your spreadsheet by hand to match your printed columns. Your errors will be blank but still listed. IE jerry
for i in `bpplclients -allunique -noheader | awk '{print $3}'`
do
echo $i, `bpgetconfig -s $i -l | awk -F";" '{print $8,","$5}'` >>verlist.txt
done
# Output of bpgetconfig -s
# 1 = Client/Master
# 2 = NetBackup Client Platform
# 3 = NetBackup Client Protocol Level
# 4 = Product
# 5 = Version Name
# 6 = Version Number
# 7 = NetBackup Installation Path
# 8 = Client OS/Release
snip from outfile
_____
eros001, WindowsNET 5 ,5.0GA
fauquier-bkup,
faxhost2, Windows2000 5 ,5.0GA
floyd-bkup, SunOS 5.10 ,5.0GA
glaive01, WindowsXP 5 ,4.5GA
glaive02,
goviq, Windows2000 5 ,4.5GA
hanover-bkup, SunOS 5.8 ,5.0GA
hms-ex1, WindowsNET 5 ,5.0GA
loghost, ,3.4GA
hms-ex2, WindowsNET 5 ,5.0GA
_____
end snip
nullMessage was edited by:
David Kies