[collectd] [PATCH] unixsock plugin: Implemented the "flush" command.

Sebastian Harl sh at tokkee.org
Wed Feb 27 21:38:22 CET 2008


Hi Florian,

On Wed, Feb 27, 2008 at 08:20:22AM +0100, Florian Forster wrote:
> On Tue, Feb 26, 2008 at 06:16:25PM +0100, Sebastian Harl wrote:
> > This command flushes all cached data using plugin_flush_all(). An
> > optional timeout may be specified as an argument.
> 
> could you do me a favor and move the implementation of the `flush'
> command to a file/module `utils_cmd_flush.[ch]', just like the `putval'
> and `putnotif' commands?

Sure, I will. I was thinking about that as well, but thought that the
code is too small to be split into its own module ;-)

A replacement for my original patch will be available in a minute.

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080227/572cb73b/attachment.pgp 


More information about the collectd mailing list