# Resources\_used.walltime does not equal to end time minus start time

**URL:** <https://community.openpbs.org/t/resources-used-walltime-does-not-equal-to-end-time-minus-start-time/3392>\
**Category:** Users/Site Administrators\
**Created:** [December 15, 2022, 10:59am UTC](https://community.openpbs.org/t/resources-used-walltime-does-not-equal-to-end-time-minus-start-time/3392 "2022-12-15T10:59:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CGully](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@CGully](https://community.openpbs.org/u/CGully)\
**Post date:** [December 15, 2022, 10:59am UTC](https://community.openpbs.org/t/resources-used-walltime-does-not-equal-to-end-time-minus-start-time/3392/1 "2022-12-15T10:59:42Z")

</div>

In the accounting logs the resources\_used.walltime does not appear to equal endtime minus the starttime.

Often a 3 second mismatch, can be up to 19 seconds and as low as 2 seconds, but never matches.  
Any ideas as to where the lost time is?  
Do jobs take that long to launch and exit?

Example Output of a tracejob showing no used walltime:  
12/14/2022 17:25:15 L Considering job to run  
12/14/2022 17:25:15 S enqueuing into workq, state Q hop 1  
12/14/2022 17:25:15 S Job Queued at request of user@hpc, owner = user@hpc, job name = STDIN, queue = workq  
12/14/2022 17:25:15 S Job Run at request of Scheduler@hpc on exec\_vnode (n229:ncpus=1)  
12/14/2022 17:25:15 L Job run  
12/14/2022 17:25:33 S Obit received momhop:1 serverhop:1 state:R substate:42  
12/14/2022 17:25:34 S Exit\_status=-4 resources\_used.cpupercent=0 resources\_used.cput=00:00:00 resources\_used.mem=0b resources\_used.ncpus=1 resources\_used.vmem=0b resources\_used.walltime=00:00:00

---

<div class="post-metadata">

**Author:** ![Source](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/source/32/756_2.png) [@Source](https://community.openpbs.org/u/Source)\
**Post date:** [February 14, 2023, 3:47am UTC](https://community.openpbs.org/t/resources-used-walltime-does-not-equal-to-end-time-minus-start-time/3392/2 "2023-02-14T03:47:00Z")

</div>

its right, the walltime doesnt take the **stagein/stageout**** pro/epilogue **in to the account. there should always be a** small** gap which may not be small

---

<div class="post-metadata">

**Author:** ![CGully](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@CGully](https://community.openpbs.org/u/CGully)\
**Post date:** [February 14, 2023, 9:35am UTC](https://community.openpbs.org/t/resources-used-walltime-does-not-equal-to-end-time-minus-start-time/3392/3 "2023-02-14T09:35:07Z")

</div>

OK, thanks @Source .  
Is there any way to see a breakdown of the stagein/stageout pro/epilogue times ?
