1 module("luci.statistics.rrdtool.definitions.processes", package.seeall)
3 function rrdargs( graph, plugin, plugin_instance )
5 if plugin_instance == "" then
10 "sleeping", "running", "paging", "blocked", "stopped", "zombies"
15 ps_state_sleeping = { color = "0000ff" },
16 ps_state_running = { color = "008000" },
17 ps_state_paging = { color = "ffff00" },
18 ps_state_blocked = { color = "ff5000" },
19 ps_state_stopped = { color = "555555" },
20 ps_state_zombies = { color = "ff0000" }
30 ps_cputime = { "syst", "user" }
50 ps_count = { "threads", "processes" }
54 ps_count__threads = { color = "00ff00" },
55 ps_count__processes = { color = "0000bb" }
63 ps_pagefaults = { "minflt", "majflt" }
67 ps_pagefaults__minflt = { color = "ff0000" },
68 ps_pagefaults__majflt = { color = "ff5500" }
74 number_format = "%5.1lf%s",
80 ps_rss = { color = "0000ff" }