File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed
tests/integration_tests/scripts Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,21 @@ module.exports = function(config) {
195
195
} ;
196
196
}
197
197
} ,
198
+ real_application : {
199
+ formula : function ( job ) {
200
+ var app = getProcInfo ( job ) ;
201
+ if ( app ) {
202
+ return {
203
+ value : app . realname ,
204
+ error : 0
205
+ } ;
206
+ }
207
+ return {
208
+ value : null ,
209
+ error : this . metricErrors . codes . metricMissingUnknownReason . value
210
+ } ;
211
+ }
212
+ } ,
198
213
"exit_status" : {
199
214
formula : function ( job ) {
200
215
var exit = this . ref ( job , "acct.exit_status" ) ;
Original file line number Diff line number Diff line change @@ -343,6 +343,16 @@ module.exports = {
343
343
comments : "The name of the application that ran" ,
344
344
per : "job" ,
345
345
} ,
346
+ real_application : {
347
+ unit : null ,
348
+ type : 'string' ,
349
+ dtype : 'accounting' ,
350
+ group : 'Executable' ,
351
+ nullable : false ,
352
+ def : 'NA' ,
353
+ comments : 'The actual name of the application that ran.' ,
354
+ per : 'job'
355
+ } ,
346
356
exit_status : {
347
357
unit : null ,
348
358
type : "string" ,
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ checkForColumn netdir_util_write
51
51
checkForColumn gpus
52
52
checkForColumn gpu_time
53
53
checkForColumn gpu_usage
54
+ checkForColumn real_application
54
55
55
56
# Check that the catastrophe buckets table has the extra column
56
57
if [ -z " $( echo " show columns from modw_supremm.catastrophe_buckets LIKE 'h_description'" | mysql -N modw_supremm) " ];
You can’t perform that action at this time.
0 commit comments