Changeset 535 for trunk/web2/addons/job_monarch/js
- Timestamp:
- 07/10/08 15:54:35 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web2/addons/job_monarch/js/jobgrid.js
r534 r535 3 3 var JobListingEditorGrid; 4 4 var JobListingWindow; 5 var JobProxy; 5 6 6 7 Ext.onReady(function(){ … … 30 31 //{name: 'requested_memory', type: 'string', mapping: 'requested_memory'}, 31 32 {name: 'ppn', type: 'int', mapping: 'ppn'}, 32 {name: ' cpu', type: 'int', mapping: 'cpu'},33 {name: 'nodect', type: 'int', mapping: 'nodect'}, 33 34 {name: 'nodes', type: 'string', mapping: 'nodes'}, 34 35 {name: 'queued_timestamp', type: 'string', mapping: 'queued_timestamp'}, 35 {name: 'start_timestamp', type: 'string', mapping: 'start_timestamp'} 36 {name: 'start_timestamp', type: 'string', mapping: 'start_timestamp'}, 37 {name: 'runningtime', type: 'string', mapping: 'runningtime'} 36 38 ]), 37 39 sortInfo:{field: 'jid', direction: "ASC"} … … 41 43 [{ 42 44 header: '#', 45 tooltip: 'Job id', 43 46 readOnly: true, 44 47 dataIndex: 'jid', … … 47 50 },{ 48 51 header: 'S', 52 tooltip: 'Job status', 49 53 readOnly: true, 50 54 dataIndex: 'status', … … 53 57 },{ 54 58 header: 'User', 59 tooltip: 'Owner of job', 55 60 readOnly: true, 56 61 dataIndex: 'owner', … … 59 64 },{ 60 65 header: 'Queue', 66 tooltip: 'In which queue does this job reside', 61 67 readOnly: true, 62 68 dataIndex: 'queue', … … 65 71 },{ 66 72 header: 'Name', 73 tooltip: 'Name of job', 67 74 readOnly: true, 68 75 dataIndex: 'name', … … 71 78 },{ 72 79 header: 'Requested Time', 80 tooltip: 'Amount of requested time (wallclock)', 73 81 readOnly: true, 74 82 dataIndex: 'requested_time', … … 77 85 },{ 78 86 header: 'Requested Memory', 87 tooltip: 'Amount of requested memory', 79 88 readOnly: true, 80 89 dataIndex: 'requested_memory', … … 82 91 hidden: true 83 92 },{ 84 header: 'PPN', 93 header: 'P', 94 tooltip: 'Number of processors per node (PPN)', 85 95 readOnly: true, 86 96 dataIndex: 'ppn', … … 88 98 hidden: false 89 99 },{ 90 header: 'CPU', 100 header: 'N', 101 tooltip: 'Number of nodes (hosts)', 91 102 readOnly: true, 92 dataIndex: ' ppn',103 dataIndex: 'nodect', 93 104 width: 25, 94 105 hidden: false … … 101 112 },{ 102 113 header: 'Queued', 114 tooltip: 'At what time did this job enter the queue', 103 115 readOnly: true, 104 116 dataIndex: 'queued_timestamp', … … 107 119 },{ 108 120 header: 'Started', 121 tooltip: 'At what time did this job enter the running status', 109 122 readOnly: true, 110 123 dataIndex: 'start_timestamp', 124 width: 140, 125 hidden: false 126 },{ 127 header: 'Runningtime', 128 tooltip: 'How long has this job been in the running status', 129 readOnly: true, 130 dataIndex: 'runningtime', 111 131 width: 140, 112 132 hidden: false … … 1173 1193 title: 'Cluster Jobs Overview', 1174 1194 closable:true, 1175 width: 700,1176 height: 350,1195 width:900, 1196 height:500, 1177 1197 plain:true, 1178 1198 layout: 'fit', … … 1181 1201 1182 1202 //debug(); 1203 //JobListingEditorGrid.store.url='jobstore.php?c=GINA Cluster'; 1183 1204 JobsDataStore.load(); 1184 //JobListingEditorGrid.render();1185 1205 JobListingWindow.show(); 1186 1206
Note: See TracChangeset
for help on using the changeset viewer.