Command to check how long a job has run and a summary of resources the job has used

Hi,
I would like to know if there is a command to check how long a job has run and a summary of resources the job has used ?

Thanks in advance.

Please use this command qstat -fx < jobid > to get the information you are interested in. For example 100 is the job id , then qstat -fx 100
Note : Job history should be enabled for the PBS Complex
QMGR: set server job_history_enable = True

thanks, I’ve run this command for a specific job and I got the following:

resources_used.cpupercent = 196

How is it possible to use more than 100% of cpus ? Is this even allowed ?

What is the virtual memory ?

resources_used.vmem = 67455328kb

Thanks a lot.

Please share the qstat -fx < jobid > output of your job with cpupercent 196

Please follow this: VMEM VS MEM - what is difference

From the PBS Pro Admin Guide:

MoM calculates an integer value called cpupercent each polling cycle. This is a moving weighted average of CPU usage for the cycle, given as the average percentage usage of one CPU. For example, a value of 50 means that during a certain period, the job used 50 percent of one CPU. A value of 300 means that during the period, the job used an average of three CPUs.