Documentation/How do I get a summary of activity for the a sge jobs

From systems
Jump to: navigation, search

qacct

The qacct command provides this information.

You can run qacct on login and or interactive nodes. (If you try to run in on computational nodes you might get error about missing accounting file)

manual qacct

Please take a look at the man page by running

man qacct

If your MANPATH does not include the qacct man page, use:

man -M /opt/gridengine/man qacct


Usage Example

Most common usage is running qacct with job number

qacct -j 648252

And you expected to get output like this

==============================================================
qname centos7_int.q
hostname hb5c2n7.hpc
group sysops
owner fs2307
project sysops
department sysops
jobname QRLOGIN
jobnumber 646568
taskid undefined
pe_taskid NONE
account sge
priority 0
cwd NONE
submit_host login2.hpc
submit_cmd qrsh -l mem=8G,centos7=1
qsub_time 04/17/2019 11:10:59.398
start_time 04/17/2019 11:11:00.207
end_time 04/17/2019 11:53:00.017
granted_pe NONE
slots 1
failed 0
deleted_by NONE
exit_status 0
ru_wallclock 2519.810
ru_utime 642.453
ru_stime 72.210
ru_maxrss 584776
ru_ixrss 0
ru_ismrss 0
ru_idrss 0
ru_isrss 0
ru_minflt 18330375
ru_majflt 383
ru_nswap 0
ru_inblock 171104
ru_oublock 4204640
ru_msgsnd 0
ru_msgrcv 0
ru_nsignals 0
ru_nvcsw 289604
ru_nivcsw 47832
wallclock 2519.889
cpu 714.663
mem 125.903
io 17.629
iow 74.760
ioops 3107565
maxvmem 2.479G
maxrss 972.641M
maxpss 953.639M
arid undefined
jc_name NONE
bound_cores 0,0

Job missing

If you get error like this "error: job id 605268 not found" The most likely you need to look for a job in older accounting file
Please contact support if you need information about job that have been rotated out of accounting file.