ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Number of CPUs
@ 2013-04-30  4:01 REAL
  2013-04-30  4:09 ` Viacheslav Dubrovskyi
  2013-04-30  6:44 ` Evgeny
  0 siblings, 2 replies; 7+ messages in thread
From: REAL @ 2013-04-30  4:01 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Привет!

Возникла необходимость выяснить, сколько CPU в системе. Физического 
доступа к машине нет, да и не факт, что нынче количество физ.процессов 
соответствует количеству CPU, как это понимает система.

-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Number of CPUs
  2013-04-30  4:01 [Comm] Number of CPUs REAL
@ 2013-04-30  4:09 ` Viacheslav Dubrovskyi
  2013-04-30  4:11   ` REAL
  2013-04-30  6:44 ` Evgeny
  1 sibling, 1 reply; 7+ messages in thread
From: Viacheslav Dubrovskyi @ 2013-04-30  4:09 UTC (permalink / raw)
  To: community

30.04.2013 07:01, REAL пишет:
> Привет!
>
> Возникла необходимость выяснить, сколько CPU в системе. Физического
> доступа к машине нет, да и не факт, что нынче количество физ.процессов
> соответствует количеству CPU, как это понимает система.
>
# dmidecode -t processor
думаю покажет нужную информацию

-- 
WBR,
Viacheslav Dubrovskyi



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Number of CPUs
  2013-04-30  4:09 ` Viacheslav Dubrovskyi
@ 2013-04-30  4:11   ` REAL
  0 siblings, 0 replies; 7+ messages in thread
From: REAL @ 2013-04-30  4:11 UTC (permalink / raw)
  To: ALT Linux Community general discussions

30.04.2013 11:09, Viacheslav Dubrovskyi пишет:
>> Возникла необходимость выяснить, сколько CPU в системе. Физического
>> доступа к машине нет, да и не факт, что нынче количество физ.процессов
>> соответствует количеству CPU, как это понимает система.
>>
> # dmidecode -t processor
> думаю покажет нужную информацию

Спасибо, то, что нужно.

-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Number of CPUs
  2013-04-30  4:01 [Comm] Number of CPUs REAL
  2013-04-30  4:09 ` Viacheslav Dubrovskyi
@ 2013-04-30  6:44 ` Evgeny
  2013-04-30 18:52   ` Sergey
  1 sibling, 1 reply; 7+ messages in thread
From: Evgeny @ 2013-04-30  6:44 UTC (permalink / raw)
  To: community

Наверное, можно посмотреть и так:

$ egrep "phys|proc" /proc/cpuinfo

On Tuesday 30 April 2013 08:01:17 REAL wrote:
> Возникла необходимость выяснить, сколько CPU в системе. Физического
> доступа к машине нет, да и не факт, что нынче количество
> физ.процессов соответствует количеству CPU, как это понимает
> система.



-- 
WBR Evgeny Karpuhin
-----------------------

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Number of CPUs
  2013-04-30  6:44 ` Evgeny
@ 2013-04-30 18:52   ` Sergey
  2013-05-02  8:54     ` Michael A. Kangin
  0 siblings, 1 reply; 7+ messages in thread
From: Sergey @ 2013-04-30 18:52 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Tuesday 30 April 2013, Evgeny wrote:

> $ egrep "phys|proc" /proc/cpuinfo
 
Тут можно перепутать с гипертредингом.

-- 
С уважением, Сергей
a_s_y@sama.ru


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Number of CPUs
  2013-04-30 18:52   ` Sergey
@ 2013-05-02  8:54     ` Michael A. Kangin
  2013-05-02  9:03       ` Sergey
  0 siblings, 1 reply; 7+ messages in thread
From: Michael A. Kangin @ 2013-05-02  8:54 UTC (permalink / raw)
  To: ALT Linux Community general discussions

30.04.2013 22:52, Sergey пишет:

>> $ egrep "phys|proc" /proc/cpuinfo
>  
> Тут можно перепутать с гипертредингом.

physical id показывает именно номер камушка.
cpu cores / core id - аппаратные ядра.
А гипертрединг будет учтён уже в siblings / processor


-- 
wbr, Michael A. Kangin


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Number of CPUs
  2013-05-02  8:54     ` Michael A. Kangin
@ 2013-05-02  9:03       ` Sergey
  0 siblings, 0 replies; 7+ messages in thread
From: Sergey @ 2013-05-02  9:03 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Thursday 02 May 2013, Michael A. Kangin wrote:

> physical id показывает именно номер камушка.
> cpu cores / core id - аппаратные ядра.
> А гипертрединг будет учтён уже в siblings / processor

И правда. Что-то не обращал внимания.

-- 
С уважением, Сергей
a_s_y@sama.ru


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-05-02  9:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-30  4:01 [Comm] Number of CPUs REAL
2013-04-30  4:09 ` Viacheslav Dubrovskyi
2013-04-30  4:11   ` REAL
2013-04-30  6:44 ` Evgeny
2013-04-30 18:52   ` Sergey
2013-05-02  8:54     ` Michael A. Kangin
2013-05-02  9:03       ` Sergey

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git