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
24 =item B<-h>, B<--help>
26 Display information about the options.
28 =item B<-s>, B<--socket=>I<socket>
30 Path to the UNIX socket opened by collectd's C<unixsock plugin>.
31 Default: /var/run/collectd-unixsock
33 =item B<-p>, B<--plugin=>I<plugin>
35 Plugin to flush I<to>. Example: B<rrdtool>.
37 =item B<-i>, B<--identifier=>I<identifier>
39 If this option is present, only the data specified by I<identifier> will be flushed.
40 I<identifier> has the following format:
42 [I<hostname>/]I<plugin>[-I<plugin_instance>]/I<type>[-I<type_instance>]
45 somehost/cpu-0/cpu-idle
47 otherhost/memory/memory-used
49 Hostname defaults to the local hostname if omitted. No error is returned if the
50 specified identifier does not exist (this is a limitation in the
51 C<libcollectdclient> library).You can only specify one identifier each time you
52 run this program (even though L<collectd-unixsock(5)> supports multiple
55 =item B<-t>, B<--timeout=>I<timeout>
57 Only flush values older than I<timeout>.
65 L<collectd-unixsock(5)>
69 HÃ¥kon J Dugstad Johnsen E<lt>hakon-dugstad.johnsenE<nbsp>atE<nbsp>telenor.comE<gt>