Had a question on the values reported for the attributes resources_used.cpupercent and resources_used.mem in qstat -f :
When a job finishes execution , do these values represent the maximum value or average value for these attributes? Or are these the point in time values. i.e the cpu, memory consumed by the job just before it finished execution?
When the job is in running state and it has run more than 120 seconds: then it is nearly point in time values of nearest mom poll cycle. Please check these sections from this guide https://www.pbsworks.com/pdfs/PBS18.2.3_BigBook.pdf