# How to configure pbspro to abort job while exceed node's physical cpu cores when qsub jobs

**URL:** <https://community.openpbs.org/t/how-to-configure-pbspro-to-abort-job-while-exceed-nodes-physical-cpu-cores-when-qsub-jobs/793>\
**Category:** Users/Site Administrators\
**Created:** [December 20, 2017, 2:41am UTC](https://community.openpbs.org/t/how-to-configure-pbspro-to-abort-job-while-exceed-nodes-physical-cpu-cores-when-qsub-jobs/793 "2017-12-20T02:41:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![guru2novice](https://avatars.discourse-cdn.com/v4/letter/g/c2a13f/32.png) [@guru2novice](https://community.openpbs.org/u/guru2novice)\
**Post date:** [December 20, 2017, 2:41am UTC](https://community.openpbs.org/t/how-to-configure-pbspro-to-abort-job-while-exceed-nodes-physical-cpu-cores-when-qsub-jobs/793/1 "2017-12-20T02:41:56Z")

</div>

how to configure pbspro to abort job while exceed node’s physical cpu cores when qsub jobs

---

<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:** [January 8, 2018, 1:26pm UTC](https://community.openpbs.org/t/how-to-configure-pbspro-to-abort-job-while-exceed-nodes-physical-cpu-cores-when-qsub-jobs/793/2 "2018-01-08T13:26:58Z")

</div>

Hi

You can use QUEUEJOB event hook which rejects the job request that exceeds the expectation.

The hooks framework would allow you to control ( accept/reject/modify) the job life cycle. Please go through the hooks chapter in the PBS Professional hooks guide. ( [http://www.pbsworks.com/pdfs/PBSHooks14.2.pdf](http://www.pbsworks.com/pdfs/PBSHooks14.2.pdf) )

Thank you
