View Single Post

   
  #2 (permalink)  
Old 01-04-2008, 10:05 PM
Steve Nottingham
 
Posts: n/a
Default Re: no of cpus.. lsc, prtconf, lsdev -Cc processor , different results

yls177@hotmail.com (yls177) wrote in message news:<c06e4d68.0312102157.1d110405@posting.google. com>...
> hi, we are confirming the number of cpus.
>
> my colleague uses ./lsc and get the below
> 1) ncpus 4 Number of CPUs
>
> while i did a lsdev -Ccprocessor
> 2)proc0 Available 00-00 Processor
> proc2 Available 00-02 Processor
> proc4 Available 00-04 Processor
> proc6 Available 00-06 Processor
> proc8 Available 00-08 Processor
> proc10 Available 00-10 Processor
>
>
> and a prtconf | more
> 3)Number Of Processors: 6
>
> so who won the number of cpus contest?


What ? What is lsc ? Is it a user written script ? as you are running
it with ./ in front, so it is not in the PATH which points to it not
being a system command

lsdev -Cc processor will always give you the correct answer.
Reply With Quote