[Networker] How Do I Get A Client Info Report?
2009-04-13 16:02:17
here's a little perl program that should run on windows as long as you change
the path of the perl and nsradmin commands to match your locations:
#!/usr/bin/perl
$nsradmin_query = ("show name;comment;client OS type;NetWorker version \nprint
type: NSR client");
@output=`echo "$nsradmin_query" | /opt/networker/bin/nsradmin -i -`;
chomp @output;
foreach (@output)
{
($front, $back) = split(/:/,$_);
$front=~ s/^\s+//; #remove leading whitespaces
$back=~ s/^\s+//; #remove leading whitespaces
if ($front =~ /^name/)
{ print "\n"; }
print $back;
}
+----------------------------------------------------------------------
|This was sent by japgar AT cablevision DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
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> |
- Re: [Networker] How Do I Get A Client Info Report?, (continued)
- Re: [Networker] How Do I Get A Client Info Report?, Browning, David
- Re: [Networker] How Do I Get A Client Info Report?, Francis Swasey
- [Networker] How Do I Get A Client Info Report?, kit
- Re: [Networker] How Do I Get A Client Info Report?, Tom Birkenbach
- Re: [Networker] How Do I Get A Client Info Report?, Tom Birkenbach
- Re: [Networker] How Do I Get A Client Info Report?, Tom Birkenbach
- Re: [Networker] How Do I Get A Client Info Report?, Macina, Conrad
- [Networker] How Do I Get A Client Info Report?,
japgar <=
|
|
|