<commit_before>--[[

Luci configuration model for statistics - collectd processes plugin configuration
(c) 2008 Freifunk Leipzig / <NAME> <<EMAIL>>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

$Id$

]]--

m = Map("luci_statistics", "Processes Plugin",
[[Das Processes-Plugin sammelt Informationen über ausgewählte Prozesse auf diesem Gerät.]])

-- collectd_processes config section
s = m:section( NamedSection, "collectd_processes", "luci_statistics", "Pluginkonfiguration" )

-- collectd_processes.enable
enable = s:option( Flag, "enable", "Plugin aktivieren" )
enable.default = 0

-- collectd_processes.processs (Process)
processes = s:option( Value, "Processes", "Überwachte Prozesse", "mehrere mit Leerzeichen trennen" )
processes.default = "olsrd bmxd httpd dnsmasq dropbear tinc"<commit_msg>* ffluci/statistics:	processes.lua: fix parameter spelling in comment<commit_after>--[[

Luci configuration model for statistics - collectd processes plugin configuration
(c) 2008 Freifunk Leipzig / <NAME> <<EMAIL>>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

$Id$

]]--

m = Map("luci_statistics", "Processes Plugin",
[[Das Processes-Plugin sammelt Informationen über ausgewählte Prozesse auf diesem Gerät.]])

-- collectd_processes config section
s = m:section( NamedSection, "collectd_processes", "luci_statistics", "Pluginkonfiguration" )

-- collectd_processes.enable
enable = s:option( Flag, "enable", "Plugin aktivieren" )
enable.default = 0

-- collectd_processes.processes (Process)
processes = s:option( Value, "Processes", "Überwachte Prozesse", "mehrere mit Leerzeichen trennen" )
processes.default = "olsrd bmxd httpd dnsmasq dropbear tinc"
{'fraction_non_alphanumeric': 0.10911808669656203, 'fraction_numerical': 0.008968609865470852, 'mean_word_length': 5.159509202453988, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3438244', 'n_tokens_mistral': 652, 'n_tokens_neox': 639, 'n_words': 204}