Re: [Networker] Clients in a SaveGroup
2004-12-06 16:39:32
Thanks,
Yes, I see that now. My mistake for posting a quicky. Glad to be corrected.
Robert Maiello
Pioneer Data Systems
On Mon, 6 Dec 2004 13:12:57 -0800, Darren Dunham <ddunham AT TAOS DOT COM>
wrote:
>> To simply find the present members in a group ask networker:
>>
>> nsradmin -i - <<EOF
>> . type: NSR client
>> . group: "$1"
>> show name:
>> print
>> EOF
>
>. (or print) always perform a complete query. So you're doing two
>separate queries here andthrowing away the work done in the first one.
>Replace that first query with "type: nsr device" and you'll see that it
>is ignored in the output.
>
>I'd probably write it something like this...
>
> show name
> print type:nsr client; group: "$1"
>
>--
>Darren Dunham ddunham AT taos DOT com
>Senior Technical Consultant TAOS http://www.taos.com/
>Got some Dr Pepper? San Francisco, CA bay area
> < This line left intentionally blank to confuse you. >
>
>--
>Note: To sign off this list, send a "signoff networker" command via email
>to listserv AT listmail.temple DOT edu or visit the list's Web site at
>http://listmail.temple.edu/archives/networker.html where you can
>also view and post messages to the list. Questions regarding this list
>should be sent to stan AT temple DOT edu
>=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
|
|