This command queries the configured processor values using the getconf command.
getconf _NPROCESSORS_ONLN
Example
anand@AnandFolio:~$ getconf _NPROCESSORS_ONLN 4
This command queries the configured processor values using the getconf command.
getconf _NPROCESSORS_ONLN
anand@AnandFolio:~$ getconf _NPROCESSORS_ONLN 4