# Need swap usage in qstat -f details

**URL:** <https://community.openpbs.org/t/need-swap-usage-in-qstat-f-details/1485>\
**Category:** Users/Site Administrators\
**Created:** [March 1, 2019, 4:49am UTC](https://community.openpbs.org/t/need-swap-usage-in-qstat-f-details/1485 "2019-03-01T04:49:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [March 2, 2019, 10:16pm UTC](https://community.openpbs.org/t/need-swap-usage-in-qstat-f-details/1485/2 "2019-03-02T22:16:37Z")

</div>

qstat -f or qstat -fx gives the detailed job information.

mem = actual memory  
vmem = mem + swap (a kind of)

**Ref:** PBS Professional 18.2.3 Installation & Upgrade Guide IG-100  
If you were using vmem at the queue or server level before the upgrade, then after upgrading you must add vmem to the new resource\_unset\_infinite sched\_config option. Otherwise jobs requesting vmem will not run.

If “vmem” is part of the job request, then it will become part of qstat -f or -fx output  
For example: qsub -l select=1:ncpus=1:mem=10gb:vmem=1gb

Otherwise, you can inject available swap and used swap into the job’s data using execjob\_epilogue.

---

_[View the full topic](https://community.openpbs.org/t/need-swap-usage-in-qstat-f-details/1485)._
