Networker

Re: [Networker] nsradmin query for empty strings

2005-10-19 09:19:46
Subject: Re: [Networker] nsradmin query for empty strings
From: Davina Treiber <DavinaTreiber AT PEEVRO.CO DOT UK>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 19 Oct 2005 14:10:53 +0100
IT-Administration ST wrote:
Hello dear fellow-networkers,

getting more and more familiar with nsradmin I discovered a way how to do a nsradmin query for empty strings. This I would like to share with you.
Example for Solaris:

   echo " . type: nsr client; remote access:\nshow name\nprint" | nsradmin -i - 
| pg

This query will show the names of every nsr client where nothing is assigned  to 
"remote access".

It's good to see that you are learning so much about nsradmin, but a lot of people on this list already know nsradmin very well. It might be more appropriate to add your handy tips to the NetWorker FAQ rather than posting them to the list. The address is in the footers of every posting.

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
wit 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

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