Projet

Général

Profil

Révision db72714e

IDdb72714eb4c50835f0ffcce813d19b3c234c1ca5
Parent 851979eb
Enfant 1c70bc92

Ajouté par Lasse Karstensen il y a presque 14 ans

rename dses to easier check correct graphing

Voir les différences:

tools/munin-node-from-hell/muninnode-from-hell
112 112
class graph_area(MuninPlugin):
113 113
    "A plugin that uses STACK and AREA. From proc_pri. Use: testing the grapher"
114 114
    def fetch(self, conf):
115
        return """high.value 3
116
low.value 2
117
locked.value 1"""
115
        return """first.value 3
116
second.value 2
117
third.value 1"""
118 118

  
119 119
    def config(self, conf):
120 120
        return """graph_title AREA and STACK
121
graph_order low high locked
121
graph_order first second third
122 122
graph_category graphtest
123 123
graph_info This graph shows nuber of processes at each priority
124 124
graph_args --base 1000 -l 0
125 125
graph_vlabel Number of processes
126
high.label high priority
127
high.draw STACK
128
high.info The number of high-priority processes (tasks)
129
low.label low priority
130
low.draw AREA
131
low.info The number of low-priority processes (tasks)
132
locked.label locked in memory
133
locked.draw STACK
134
locked.info The number of processes that have pages locked into memory (for real-time and custom IO)
126
first.label first
127
first.draw STACK
128
first.info The number of first-priority processes (tasks)
129
second.label second
130
second.draw AREA
131
second.info The number of second-priority processes (tasks)
132
third.label third
133
third.draw STACK
134
third.info The number of processes that have pages third into memory (for real-time and custom IO)
135 135
"""
136 136
modules["graph_area"] = graph_area()
137 137

  

Formats disponibles : Unified diff