How many resources can I use?

You can view the current resource limits on a per user basis by running the command:

sacctmgr list assoc user=$user

You can also find this information for an entire account by running the command:

sacctmgr list assoc account=$sponsor