# How to query the number of available cores to your job

**URL:** https://community.openpbs.org/t/how-to-query-the-number-of-available-cores-to-your-job/1185
**Category:** Users/Site Administrators
**Created:** [September 10, 2018, 2:09pm UTC](https://community.openpbs.org/t/how-to-query-the-number-of-available-cores-to-your-job/1185 "2018-09-10T14:09:45Z")
**Posts on this page:** 1
**Showing post:** 10

<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: [October 10, 2018, 1:59pm UTC](https://community.openpbs.org/t/how-to-query-the-number-of-available-cores-to-your-job/1185/10 "2018-10-10T13:59:14Z")

</div>

> [@kirk](#):
>
> usage: pbsnodes [-{c|d|l|o|p|r}] [-s server] [-n] [-N “note”]

I should have noticed this, your cluster is not running PBS Pro OSS but it is running torque.  
Please use the above snippet and search on google.

Refer these discussions:

> [@PBS Default number of nodes and number of cpus](http://community.openpbs.org/t/pbs-default-number-of-nodes-and-number-of-cpus/834/4):
>
> So a little history for your knowledge. PBS was originally developed for NASA under a contract project. Altair Engineering acquired the rights to all the PBS technology and intellectual property from Veridian in 2003. Altair Engineering currently owns and maintains the intellectual property associated with PBS, and also employs the original development team from NASA. The following versions of PBS are currently available: OpenPBS — original open source version released by MRJ in 1998 (not ac…

> [@Migrating from Torque/maui, slurm vs pbs pro](http://community.openpbs.org/t/migrating-from-torque-maui-slurm-vs-pbs-pro/740):
>
> We have a system set up with Torque-Maui and would like to get a new workload manager. Our requirements include support scheduling on Windows, being able to scale with 300-500 systems and 30000-50000 jobs at least What is a better scheduler to switch to between PBS Pro and SLURM? Our observation is that Maui crashes once the number of jobs lined up in the queues exceed 33-34k. Does this happen in PBS Pro too? What are the steps to switch from the existing system to PBS Pro?

---

_[View the full topic](https://community.openpbs.org/t/how-to-query-the-number-of-available-cores-to-your-job/1185)._
