The command used in checking the total number of processes a user is using on the linux machine.
ps -eLF | grep userNameHere | wc -l
This can be useful when you see an error like this on a linux machine
cannot set user id: Resource temporarily unavailable