connect svrmgrl
pass the statement:
show parameter
it will give u all the parameters. among these, find for cpu_count.
this particular parameter shows the number of CPUs available to Oracle.

Regarding OS, for HP UX, you can use the top command in the prompt.....