Re: [Networker] Client query on NSRADMIN
2004-03-11 03:48:06
The following script on my machine gives back:
#! /bin/sh
cat <<! |
option resource id
. type: NSR client;name: bagworm
show enabler in use;name;resource id
print
!
nsradmin -i -
root@bagworm # sh k
Resource ID display option turned on
Display options:
Dynamic: Off;
Hidden: Off;
Resource ID: On;
Current query set
name: bagworm;
enabler in use: Yes;
resource identifier: 0.13.24.84.48.45.255.21.193.78.89.32(1382);
name: bagworm;
enabler in use: Yes;
resource identifier: 0.15.0.217.49.77.154.248.193.78.89.32(1238);
root@bagworm # cat k
Does that help ?
updating using the resource id restricts the update to only one
client_resource (client bagworm, our legato server has as you can see 2
client resources )
Maarten
On Thursday 11 M
arch 2004 07:35, you wrote:
> Hi,
>
> Trying to run a "simple" nsradmin query - we have a client that is not in
> use anymore but it is takign up a client license (as seen when networker
> starts up - and in the "enabler in use" = yes field).
>
> I can delete, restart networker and then re-create the client with the same
> client-id which will reset this value. (a hidden and unchangeable vaue from
> within the admin gui).
>
> Surely it must be "editable" from nsradmin ?
>
> I have queried the NSR client resource to "show all" and I can see the
> field "enabler in use" : Yes (which changes to No when I do the editing).
>
> Now what I am tryign to do to is to only see the values for one particular
> client by: show name: client
>
> I have tried various versions (which work when selecting devices) such as
> name = , name:=, name : "client" etc ... but I keep getting back ALL of the
> client names on our system.
>
> Is there a way to get all of the info for ONE client only ? (and hence I
> would hopefully be able to "update field" ... )
>
> Suggestions ?
>
> Regards,
> Riaan
>
> --
> 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.
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
--
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
|
|