vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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? |
| |||
| 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. |
| |||
| Steve Nottingham <steve@wakefieldrfc.freeserve.co.uk> wrote: SN> 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? SN> What ? What is lsc ? Is it a user written script ? as you are running SN> it with ./ in front, so it is not in the PATH which points to it not SN> being a system command It's a command from perfpmr. Given the processor numbers in the lsdev output, I suspect this machine has LPARs. Perhaps the numbering of the CPUs confuses lsc. Regards, Nick -- "Why shouldn't I top-post?" http://www.aglami.com/tpfaq.html "Meanings are another story." http://www.ifas.org/wa/glossolalia.html |
| ||||
| Nicholas Dronen wrote: > SN> What ? What is lsc ? Is it a user written script ? as you are running > SN> it with ./ in front, so it is not in the PATH which points to it not > SN> being a system command > > It's a command from perfpmr. Given the processor numbers in the > lsdev output, I suspect this machine has LPARs. Perhaps the numbering > of the CPUs confuses lsc. IIRC prtconf gives you physical box info. Both commands are likely correct; they just have different perspectives. -- Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE __________________________________________________ ______________________ |