# Tracejob output

**URL:** <https://community.openpbs.org/t/tracejob-output/2500>\
**Category:** Users/Site Administrators\
**Created:** [February 19, 2021, 3:14am UTC](https://community.openpbs.org/t/tracejob-output/2500 "2021-02-19T03:14:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brownwrap](https://avatars.discourse-cdn.com/v4/letter/b/94ad74/32.png) [@brownwrap](https://community.openpbs.org/u/brownwrap)\
**Post date:** [February 19, 2021, 3:14am UTC](https://community.openpbs.org/t/tracejob-output/2500/1 "2021-02-19T03:14:58Z")

</div>

I am working with a user who is trying to optimize his job. Each node has 64 cores and 529419740kb of memory. Here is the output of tracejob. I am guessing vmem isan indication of how much swaapping is taking place. He is asking for 320 cores or five nodes.

02/18/2021 23:28:27 S Exit\_status=0 resources\_used.cpupercent=6398 resources\_used.cput=172:08:25 resources\_used.mem=83939560kb resources\_used.ncpus=320 resources\_used.vmem=264742324kb

---

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [February 19, 2021, 11:03am UTC](https://community.openpbs.org/t/tracejob-output/2500/2 "2021-02-19T11:03:29Z")

</div>

> [@brownwrap](#):
>
> I am guessing vmem isan indication of how much swaapping is taking place.

Yes , correct vmem = mem used + swap  
The below discussions might be helpful.

> [@Resources\_used.mem - what is it?](https://community.openpbs.org/t/resources-used-mem-what-is-it/2435):
>
> HI Guys, Can you please let me know if resources\_used.mem that you get when executing qstat -f is the aggreagted amount of memory used by the job or is it the maximum amount of memory? e.g. if the job had peaks and valleys but at its peak it reached 100GB of memory then would resources\_used.mem be equal 100GB? or maybe the metric would simply grow in size with some other logic that I’m missing? And also how can I extract the “temporal” memory usage of each job (for all jobs)? I want to be a…

> [@VMEM VS MEM - what is difference](https://community.openpbs.org/t/vmem-vs-mem-what-is-difference/1320):
>
> Hi, My job is stopped and I don’t known why. I suppose that I don’t have enough mem or vmem. I want to set resources\_max.mem and resources\_max.vmem . Resources\_max.mem i will set to summary of all physically memory from all nodes. But what value of resources\_max.vmem I should set? Physically memory + swap or just swap? What is exactly vmem? I want to set those values because when I try to get information about resources on mypbs (qstat -Qf) I get just “0” values on mem,vmem, etc. Maybe pbs do…

> [@brownwrap](#):
>
> He is asking for 320 cores or five nodes.

The total number of cores used for that job is 320.  
If you could share the qstat -fx \< jobid \> output that would be helpful.

Thank you
