No: of processors

which unix command can be used to know the no: of processors running on that machine...

version used:- Solaris 8.0

psrinfo -v

it takes the argument as processor id......

how can I know this id....b4 using psrinfo......

Without the processor_id operand, psrinfo displays one line for each configured processor, displaying whether it is on-line, non-interruptible (designated by no-intr), off-line, or powered off, and when that status last changed.

The processor_id is 1, 2, 3 ..etc depending on how many CPU the system has.

If you only have one cpu then it will be psrinfo -v 1

Run psrinfo without a processor_id to list them all.