Networker

Re: [Networker] How to get a list of clients?

2008-03-31 23:24:53
Subject: Re: [Networker] How to get a list of clients?
From: Mathew Harvest <Mathew.HARVEST AT SIS.QLD.GOV DOT AU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 1 Apr 2008 13:22:16 +1000
Depending on what OS you are using and what tools you have it can be
done in different ways - generally if you are using windows then it can
be a lot easier if you have one of the Unix tool pack installed (cygwin
/ windows services for Unix, etc)

echo show name\nprint type:nsr client | nsradmin -i -
will give you an output like 
                        name: server1;

                        name: server2.fully.qualified.name;

you would then need to massage the output to get rid of the name: and
the ; at the end of each line, and the problem with this if you are
using windows is that echo doesn't support the \n (new line) so you
would have to create a two line file that looked like 
show name
print type:nsr client

and then run the following command

type filename | nsradmin -I -
 

or you could try

mminfo -r client | sort | uniq
will give you an output like

server1
server2.fully.qualified.name

the sort and uniq commands are Unix commands ... but generally come with
the Unix tool packs 

Mat.

-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of MIchael Leone
Sent: Tuesday, 1 April 2008 12:58 PM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] How to get a list of clients?

I'd like to get a list of all my clients from NW. You might think it
would
be as simple as "mminfo -r client", but that doesn't seem to work.
Ideally,
I'd like a unique list of clients, but I'll probably have to massage the
file myself, and that's OK.

What am I missing?


--
Michael Leone
Network Administrator, ISM
Philadelphia Housing Authority
2500 Jackson St
Philadelphia, PA 19145
Tel:  215-684-4180
Cell: 215-252-0143
<mailto:michael.leone AT pha.phila DOT gov>
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




********************************* DISCLAIMER *********************************
The information contained in the above e-mail message or messages (which 
includes any attachments) is confidential and may be legally privileged.  It is 
intended only for the use of the person or entity to which it is addressed.  If 
you are not the addressee any form of disclosure, copying, modification, 
distribution or any action taken or omitted in reliance on the information is 
unauthorised.  Opinions contained in the message(s) do not necessarily reflect 
the opinions of the Queensland Government and its authorities.  If you received 
this communication in error, please notify the sender immediately and delete it 
from your computer system network.

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

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