1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319
|
!!___INFO__MARK_BEGIN__
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!
!! The Contents of this file are made available subject to the terms of
!! the Sun Industry Standards Source License Version 1.2
!!
!! Sun Microsystems Inc., March, 2001
!!
!!
!! Sun Industry Standards Source License Version 1.2
!! =================================================
!! The contents of this file are subject to the Sun Industry Standards
!! Source License Version 1.2 (the "License"); You may not use this file
!! except in compliance with the License. You may obtain a copy of the
!! License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
!!
!! Software provided under this License is provided on an "AS IS" basis,
!! WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
!! WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
!! MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
!! See the License for the specific provisions governing your rights and
!! obligations concerning the Software.
!!
!! The Initial Developer of the Original Code is: Sun Microsystems, Inc.
!!
!! Copyright: 2001 by Sun Microsystems, Inc.
!!
!! All Rights Reserved.
!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!___INFO__MARK_END__
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! Share Tree Policy
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Qmon*qmon_sharetree.xmtChildren: unmanaged XmtLayout sharetree;
Qmon*qmon_sharetree.sharetree.defaultSpacing: 2
Qmon*qmon_sharetree.sharetree.autoUnmanage: False
Qmon*qmon_sharetree.sharetree.resizePolicy: RESIZE_NONE
Qmon*qmon_sharetree.sharetree.dialogTitle: @{QMON +++ Share Tree Policy}
Qmon*qmon_sharetree.sharetree.fontList: $dialog_font
Qmon*qmon_sharetree.sharetree.XmtInputField.marginHeight: 2
Qmon*qmon_sharetree.sharetree.XmtInputField.marginWidth: 2
Qmon*qmon_sharetree.sharetree.XmText.marginHeight: 2
Qmon*qmon_sharetree.sharetree.XmText.marginWidth: 2
Qmon*qmon_sharetree.sharetree.xmtChildren: \
XmPushButton st_main_link; \
ListTree st_tree; \
Label st_percentage = t_percentage, \
st_simple_percentage = l_percentage, \
st_actual_proportion = actual_proportion, \
st_targetted_share = targetted_share, \
st_usage = usage, \
st_name = id, \
st_share = share; \
XmtMsgLine st_message; \
XmPushButton st_apply, st_close, st_update, st_delete, st_add_leaf, \
st_add_node, st_copy, st_cut, st_paste, st_help, st_more, \
st_mod_node, st_find, st_next, st_clear_usage;
Qmon*qmon_sharetree.sharetree.layout: \
Fixed Shadowed Out 4 2 LREvenSpaced Row sharetree_title { \
Fixed Centered st_main_link \
Centered Color "$title_fg" "@{@fBShare Tree Policy}" \
} \
# \
Row st_main_row { \
Col { \
Shadowed Out Stretchable 5 in % 6 in st_tree \
# \
Shadowed Out Col { \
Centered "@{@fBNode Attributes}" \
Row { Fixed 35 em "@{Identifier}"<> 20 em st_name }\
Row { Fixed 35 em "@{Shares}"<> 20 em st_share }\
Row { Fixed 35 em "@{Level Percentage}"<> 20 em st_simple_percentage }\
Row { Fixed 35 em "@{Total Percentage}"<> 20 em st_percentage }\
Row { Fixed 35 em "@{Actual Resource Share}"<> 20 em st_actual_proportion }\
Row { Fixed 35 em "@{Targeted Resource Share}"<> 20 em st_targetted_share }\
Row { Fixed 35 em "@{Combined Usage}"<> 20 em st_usage }\
} \
} \
Fixed Shadowed Out Col st_button_box { \
Fixed st_update \
Fixed st_apply \
Fixed st_close \
Fixed st_help \
#\
= \
#\
Fixed st_add_node \
Fixed st_add_leaf \
Fixed st_mod_node \
Fixed st_delete \
Fixed st_copy \
Fixed st_cut \
Fixed st_paste \
Fixed st_find \
Fixed st_next \
#\
= \
#\
Fixed st_clear_usage \
<> \
Fixed Centered st_more \
Fixed st_message \
} \
}
Qmon*st_message*columns: 15
Qmon*qmon_sharetree.sharetree.st_main_link.labelType: PIXMAP
Qmon*qmon_sharetree.sharetree.st_main_link.labelPixmap: logo
Qmon*qmon_sharetree.sharetree.st_main_link.shadowThickness: 1
Qmon*qmon_sharetree.sharetree.st_main_link.highlightThickness: 0
Qmon*qmon_sharetree.sharetree.st_main_link.marginHeight: 0
Qmon*qmon_sharetree.sharetree.st_main_link.marginWidth: 0
Qmon*qmon_sharetree.sharetree.st_update.labelString: @{Refresh}
Qmon*qmon_sharetree.sharetree.st_mod_node.labelString: @{Modify}
Qmon*qmon_sharetree.sharetree.st_add_node.labelString: @{Add Node}
Qmon*qmon_sharetree.sharetree.st_add_leaf.labelString: @{Add Leaf}
Qmon*qmon_sharetree.sharetree.st_delete.labelString: @{Delete}
Qmon*qmon_sharetree.sharetree.st_copy.labelString: @{Copy}
Qmon*qmon_sharetree.sharetree.st_cut.labelString: @{Cut}
Qmon*qmon_sharetree.sharetree.st_paste.labelString: @{Paste}
Qmon*qmon_sharetree.sharetree.st_paste.sensitive: False
Qmon*qmon_sharetree.sharetree.st_find.labelString: @{Find}
Qmon*qmon_sharetree.sharetree.st_next.labelString: @{Find Next}
Qmon*qmon_sharetree.sharetree.st_apply.labelString: @{Apply}
Qmon*qmon_sharetree.sharetree.st_close.labelString: @{Done}
Qmon*qmon_sharetree.sharetree.st_help.labelString: @{Help}
Qmon*qmon_sharetree.sharetree.st_clear_usage.labelString: @{Clear Usage}
Qmon*qmon_sharetree.sharetree.st_more.labelType: PIXMAP
Qmon*qmon_sharetree.sharetree.st_more.labelPixmap: rightarrow
Qmon*qmon_sharetree.sharetree.st_new.labelType: PIXMAP
Qmon*qmon_sharetree.sharetree.st_new.labelPixmap: file_link
Qmon*qmon_sharetree.sharetree.st_name.width: 100
Qmon*qmon_sharetree.sharetree.st_name.labelString: _
Qmon*qmon_sharetree.sharetree.st_name.alignment: ALIGNMENT_BEGINNING
Qmon*qmon_sharetree.sharetree.st_name.recomputeSize: False
Qmon*qmon_sharetree.sharetree.st_share.labelString: _
Qmon*qmon_sharetree.sharetree.st_share.alignment: ALIGNMENT_BEGINNING
Qmon*qmon_sharetree.sharetree.st_share.recomputeSize: False
Qmon*qmon_sharetree.sharetree.st_simple_percentage.labelString: _
Qmon*qmon_sharetree.sharetree.st_simple_percentage.alignment: ALIGNMENT_BEGINNING
Qmon*qmon_sharetree.sharetree.st_simple_percentage.recomputeSize: False
Qmon*qmon_sharetree.sharetree.st_percentage.labelString: _
Qmon*qmon_sharetree.sharetree.st_percentage.alignment: ALIGNMENT_BEGINNING
Qmon*qmon_sharetree.sharetree.st_percentage.recomputeSize: False
Qmon*qmon_sharetree.sharetree.st_usage.labelString: _
Qmon*qmon_sharetree.sharetree.st_usage.alignment: ALIGNMENT_BEGINNING
Qmon*qmon_sharetree.sharetree.st_usage.recomputeSize: False
Qmon*qmon_sharetree.sharetree.st_targetted_share.labelString: _
Qmon*qmon_sharetree.sharetree.st_targetted_share.alignment: ALIGNMENT_BEGINNING
Qmon*qmon_sharetree.sharetree.st_targetted_share.recomputeSize: False
Qmon*qmon_sharetree.sharetree.st_actual_proportion.labelString: _
Qmon*qmon_sharetree.sharetree.st_actual_proportion.alignment: ALIGNMENT_BEGINNING
Qmon*qmon_sharetree.sharetree.st_actual_proportion.recomputeSize: False
Qmon*qmon_sharetree.sharetree.st_sharetree_type.chooserType: ChooserOption
Qmon*qmon_sharetree.sharetree.st_sharetree_type.strings: \
"@{User Share Tree}", \
"@{Project Share Tree}"
Qmon*qmon_sharetree.sharetree.st_help.activateCallback: XmtHelpDisplayContextHelp(self);
Qmon*qmon_sharetree.sharetree.st_ratio.layoutIn: st_main_row
Qmon*qmon_sharetree.sharetree.st_ratio.xmtChildren: \
XmScale st_cpu = cpu_weight, \
st_mem = mem_weight, \
st_io = io_weight; \
XmToggleButton st_cpu_t, st_mem_t, st_io_t; \
InputField st_halflife = halftime, \
st_halflife_decay_list=halflife_decay_list, \
st_compensation_factor = compensation_factor; \
XmtChooser st_halflife_unit;
Qmon*qmon_sharetree.sharetree.st_ratio.layout: \
Stretchable Shadowed Out 4 2 Col { \
"@{@fBShare Tree Policy Parameters}" \
Equal Even Row { \
Caption tc "@{CPU [%]}" Col { \
Fixed Centered st_cpu_t \
Fixed Centered st_cpu \
} \
Caption tc "@{MEM [%]}" Col { \
Fixed Centered st_mem_t \
Fixed Centered st_mem \
} \
Caption tc "@{I/O [%]}" Col { \
Fixed Centered st_io_t \
Fixed Centered st_io \
} \
} \
Caption tl "@{Halflife}" Row { \
Centered st_halflife \
Fixed st_halflife_unit \
} \
Caption tl "@{Halflife Decay List}" \
st_halflife_decay_list \
Caption tl "@{Compensation Factor}" st_compensation_factor \
<> \
}
Qmon*sharetree.st_ratio.st_halflife_unit.chooserType: ChooserOption
Qmon*sharetree.st_ratio.st_halflife_unit.strings: \
"@{Hours}", \
"@{Days}"
Qmon*sharetree.st_ratio.st_uwm.reverseSelect: True
Qmon*sharetree.st_ratio.st_uwm.allowColumnResize: True
Qmon*sharetree.st_ratio.st_uwm.rows: 5
Qmon*sharetree.st_ratio.st_uwm.visibleRows: 5
Qmon*sharetree.st_ratio.st_uwm.fixedColumns: 1
Qmon*sharetree.st_ratio.st_uwm.trailingFixedColumns: 1
Qmon*sharetree.st_ratio.st_uwm.columns: 3
Qmon*sharetree.st_ratio.st_uwm.columnWidths: 15, 10, 10
Qmon*sharetree.st_ratio.st_uwm.columnMaxLengths: 150, 15, 15
Qmon*sharetree.st_ratio.st_uwm.columnLabels: @{Category}, @{Share}, @{Percentage}
Qmon*sharetree.st_ratio.st_uwm.boldLabels: True
Qmon*sharetree.st_ratio.st_uwm.gridType: GRID_COLUMN_SHADOW
Qmon*sharetree.st_ratio.st_uwm.cellShadowType: SHADOW_IN
Qmon*sharetree.st_ratio.st_uwm.cellShadowThickness: 1
Qmon*sharetree.st_ratio.st_cpu_t.indicatorOn: False
Qmon*sharetree.st_ratio.st_cpu_t.shadowThickness: 0
Qmon*sharetree.st_ratio.st_cpu_t.highlightThickness: 0
Qmon*sharetree.st_ratio.st_cpu_t.labelType: PIXMAP
Qmon*sharetree.st_ratio.st_cpu_t.labelPixmap: open_lock
Qmon*sharetree.st_ratio.st_cpu_t.selectPixmap: lock
Qmon*sharetree.st_ratio.st_mem_t.indicatorOn: False
Qmon*sharetree.st_ratio.st_mem_t.shadowThickness: 0
Qmon*sharetree.st_ratio.st_mem_t.highlightThickness: 0
Qmon*sharetree.st_ratio.st_mem_t.labelType: PIXMAP
Qmon*sharetree.st_ratio.st_mem_t.labelPixmap: open_lock
Qmon*sharetree.st_ratio.st_mem_t.selectPixmap: lock
Qmon*sharetree.st_ratio.st_io_t.indicatorOn: False
Qmon*sharetree.st_ratio.st_io_t.shadowThickness: 0
Qmon*sharetree.st_ratio.st_io_t.highlightThickness: 0
Qmon*sharetree.st_ratio.st_io_t.labelType: PIXMAP
Qmon*sharetree.st_ratio.st_io_t.labelPixmap: open_lock
Qmon*sharetree.st_ratio.st_io_t.selectPixmap: lock
!Qmon*sharetree.st_ratio.st_cpu*troughColor: red
Qmon*sharetree.st_ratio.st_cpu.foreground: red
Qmon*sharetree.st_ratio.st_cpu.decimalPoints: 1
Qmon*sharetree.st_ratio.st_cpu.minimum: 0
Qmon*sharetree.st_ratio.st_cpu.maximum: 1000
Qmon*sharetree.st_ratio.st_cpu.highlightThickness: 1
Qmon*sharetree.st_ratio.st_cpu.scaleMultiple: 1
Qmon*sharetree.st_ratio.st_cpu.orientation: VERTICAL
Qmon*sharetree.st_ratio.st_cpu.showValue: True
Qmon*sharetree.st_ratio.st_cpu.sliderMark: ROUND_MARK
!Qmon*sharetree.st_ratio.st_mem*troughColor: cyan4
Qmon*sharetree.st_ratio.st_mem.foreground: cyan4
Qmon*sharetree.st_ratio.st_mem.decimalPoints: 1
Qmon*sharetree.st_ratio.st_mem.minimum: 0
Qmon*sharetree.st_ratio.st_mem.maximum: 1000
Qmon*sharetree.st_ratio.st_mem.highlightThickness: 1
Qmon*sharetree.st_ratio.st_mem.scaleMultiple: 1
Qmon*sharetree.st_ratio.st_mem.orientation: VERTICAL
Qmon*sharetree.st_ratio.st_mem.showValue: True
Qmon*sharetree.st_ratio.st_mem.sliderMark: ROUND_MARK
!Qmon*sharetree.st_ratio.st_io*troughColor: magenta4
Qmon*sharetree.st_ratio.st_io.foreground: magenta4
Qmon*sharetree.st_ratio.st_io.decimalPoints: 1
Qmon*sharetree.st_ratio.st_io.minimum: 0
Qmon*sharetree.st_ratio.st_io.maximum: 1000
Qmon*sharetree.st_ratio.st_io.highlightThickness: 1
Qmon*sharetree.st_ratio.st_io.scaleMultiple: 1
Qmon*sharetree.st_ratio.st_io.orientation: VERTICAL
Qmon*sharetree.st_ratio.st_io.showValue: True
Qmon*sharetree.st_ratio.st_io.sliderMark: ROUND_MARK
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! New Node Popup
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Qmon*qmon_node.xmtChildren: unmanaged XmtLayout node_layout;
Qmon*qmon_node.node_layout.dialogStyle: DIALOG_FULL_APPLICATION_MODAL
Qmon*qmon_node.node_layout.xmtChildren: \
InputField node_name; \
InputField node_share; \
XmPushButton node_ok, node_cancel;
Qmon*qmon_node.node_layout.layout: \
Row { \
Shadowed Out Col { \
"@{@fBNode Info}" \
#\
FlushRight Caption l "@{Name}" node_name \
FlushRight Caption l "@{Share}" node_share \
} \
Fixed Shadowed Out Col { \
Fixed node_ok \
Fixed node_cancel \
} \
}
Qmon*qmon_node.node_layout.node_ok.labelString: @{Ok}
Qmon*qmon_node.node_layout.node_cancel.labelString: @{Cancel}
|