Code

processes plugin: Support processes with spaces in their names.
authorFlorian Forster <octo@collectd.org>
Thu, 1 Mar 2012 08:56:56 +0000 (09:56 +0100)
committerFlorian Forster <octo@collectd.org>
Thu, 1 Mar 2012 08:56:56 +0000 (09:56 +0100)
commitb757d5e0576b138adbe6ab98bb11ac7c4dde8644
treed358dc7b51b12ee735d7ca8e1d7c16f595994635
parent4814a7ce4b264e52c8c028241a4da36553d3ec5a
processes plugin: Support processes with spaces in their names.

… without replacing the space in the process name. This is done by using
an equivalent of strchr() and strrchr() to determine the boundaries of
the second "field".

Change-Id: Id4c1a84c0544554fae05623457d2a7a3e0630db2
src/processes.c