3 collectd-flush - Small command line utility to flush collectd
7 collectd-flush I<[options]>
11 This small command line utitilty uses C<libcollectdclient> to flush collectd
12 through a socket from the L<unixsock plugin>. Useful if you want to be sure
13 you have the latest values in your RRD files before graphing them or copying
16 =head1 ARGUMENTS AND OPTIONS
18 The following arguments and options are understood by collectd-flush. The order
19 of the arguments generally doesn't matter, as long as no argument is passed
26 Path to the UNIX socket opened by collectd's C<unixsock plugin>.
27 Default: /var/run/collectd-unixsock
31 Plugin to flush I<to>. Example: B<rrdtool>.
33 =item B<-i> I<identifier>
35 If this option is present, only the data specified by I<identifier> will be flushed.
36 I<identifier> has the following format:
38 [I<hostname>/]I<plugin>[-I<plugin_instance>]/I<type>[-I<type_instance>]
41 somehost/cpu-0/cpu-idle
43 otherhost/memory/memory-used
45 Hostname defaults to the local hostname if omitted. No error is returned if the
46 specified identifier does not exist (this is a limitation in the
47 C<libcollectdclient> library). You can only specify one identifier each time you
48 run this program (even though L<collectd-unixsock(5)> supports multiple
51 =item B<-t> I<timeout>
53 Only flush values older than I<timeout> seconds.
57 Display usage information and exit.
65 L<collectd-unixsock(5)>
69 HÃ¥kon J Dugstad Johnsen E<lt>hakon-dugstad.johnsenE<nbsp>atE<nbsp>telenor.comE<gt>