Networker

Re: [Networker] output from an NSRadmin command to afile

2004-01-25 07:49:46
Subject: Re: [Networker] output from an NSRadmin command to afile
From: Lis <ej AT BLABER.FREESERVE.CO DOT UK>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Sun, 25 Jan 2004 07:49:38 -0500
Michael Leinweber wrote:
> Hello,
>
> is it possible to write the output from an NSRadmin command (normaly
> Commandline window) to a file, for accessing by other programs.


Hi

You can do this in 2 ways with the following (example of getting all client
names)...

1...
nsradmin -s servername << EOF >> /file
show name
print type: NSR client
q
EOF

NB there musn't be any spaces or tabs before the last EOF

2...
nsradmin -s servername -i file1 > /file2

file 1 would contain your nsradmin commands

Lis

--
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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