Re: [Networker] How to get a list of license enablers on Linux
2009-05-14 12:36:08
In regard to: [Networker] How to get a list of license enablers on Linux,...:
Its that time of year again where I need to begin the process to renew our
annual NetWorker update agreement. I have two NetWorker servers, one on
Linux and one on Solaris.
For some reason, when I run the following script on Linux to generate a list
of my NetWorker 7.4.4 licenses, I get a syntax error:
echo "show name; enabler code; auth code
print type:NSR license" | nsradmin -i - | \
egrep -v "^$" | sed -e 's/^[ \t]*//' -e 's/;//g' | \
awk -F":" '($1 ~ /^name*/) { printf("%s ;",$2) }
($1 ~ /^enabler*/) { printf("%s ;",$2) }
($1 ~ /^auth*/) { printf("%s\n",$2) }
Add a single quote at the end of the last line.
Tim
--
Tim Mooney Tim.Mooney AT ndsu DOT
edu
Enterprise Computing & Infrastructure 701-231-1076 (Voice)
Room 242-J6, IACC Building 701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
To sign off this list, send email to listserv AT listserv.temple DOT edu and type
"signoff networker" in the body of the email. Please write to networker-request
AT listserv.temple DOT edu if you have any problems with this list. You can access the
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|