=head1 SYNOPSIS
B<rrdtool> B<info> I<filename>
-S<[B<--daemon> I<address>]>
+S<[B<--daemon>|B<-d> I<address> S<[B<--noflush>|B<-F>]>]>
=head1 DESCRIPTION
The name of the B<RRD> you want to examine.
-=item B<--daemon> I<address>
+=item B<--daemon>|B<-d> I<address>
Address of the L<rrdcached> daemon. If specified, a C<flush> command is sent
to the server before reading the RRD files. This allows B<rrdtool> to return
rrdtool info --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd
-=item B<--noflush>
+=item B<--noflush>|B<-F>
Omit the C<flush> command usually sent to the daemon prior to retrieving the
data. If all you are interested in the the RRD Structure, and not the last update
break;
default:
- rrd_set_error ("Usage: rrdtool %s [--daemon <addr> [--noflush]] <file>",
+ rrd_set_error ("Usage: rrdtool %s [--daemon|-d <addr> [--noflush|-F]] <file>",
argv[0]);
return (NULL);
break;
} /* while (42) */
if ((argc - optind) != 1) {
- rrd_set_error ("Usage: rrdtool %s [--daemon <addr> [--noflush]] <file>",
+ rrd_set_error ("Usage: rrdtool %s [--daemon |-d <addr> [--noflush|-F]] <file>",
argv[0]);
return (NULL);
}
const char *help_info =
N_("* info - returns the configuration and status of the RRD\n\n"
- "\trrdtool info filename.rrd\n");
+ "\trrdtool info [--daemon|-d <addr> [--noflush|-F]] filename.rrd\n");
const char *help_restore =
N_("* restore - restore an RRD file from its XML form\n\n"