From: Jo-Philipp Wich Date: Tue, 3 Jun 2008 23:22:55 +0000 (+0000) Subject: * luci/statistics: remove unneeded processes/ps_state diagram definition X-Git-Tag: 0.8.0~887 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2c85ff1fe70715bd44213e5fb79e0ca3acca6afe;p=oweals%2Fluci.git * luci/statistics: remove unneeded processes/ps_state diagram definition --- diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/processes/ps_state.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/processes/ps_state.lua deleted file mode 100644 index c95152ee4..000000000 --- a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/processes/ps_state.lua +++ /dev/null @@ -1,38 +0,0 @@ ---[[ - -Luci statistics - processes plugin diagram definition -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -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$ - -]]-- - -module("luci.statistics.rrdtool.definitions.processes.ps_state", package.seeall) - -function rrdargs( graph, plugin, plugin_instance, dtype ) - - return { - data = { - instances = { - ps_state = { - "sleeping", "running", "paging", "blocked", "stopped", "zombies" - } - }, - - options = { - ps_state_sleeping = { color = "0000ff" }, - ps_state_running = { color = "008000" }, - ps_state_paging = { color = "ffff00" }, - ps_state_blocked = { color = "ff5000" }, - ps_state_stopped = { color = "555555" }, - ps_state_zombies = { color = "ff0000" } - } - } - } -end