All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hullen@t-online.de (Helmut Hullen)
To: util-linux@vger.kernel.org
Subject: detecting SMP CPU
Date: 27 Sep 2013 17:04:00 +0200	[thread overview]
Message-ID: <CedICKtuCXB@helmut.hullen.de> (raw)

Hallo, util-linux,

I want to detect the existence of an SMP CPU (multi core CPU). I've  
tried the contents of "/proc/cpuinfo" and the output of "lscpu".

Both ways only showed the existence of both processors of my AMD CPU  
when I run them under a kernel which was compiled with the option  
"SMP=Y".

The "help" for this kernel option proposes to set this option only if  
the kernel really runs on such a CPU.

Is there any way to detect a multi core CPU under a kernel which is  
compiled with "SMP=n"?

Please excuse my gerlish.

Viele Gruesse!
Helmut

             reply	other threads:[~2013-09-27 15:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-27 15:04 Helmut Hullen [this message]
2013-11-07 11:45 ` detecting SMP CPU Karel Zak
2013-11-07 17:24   ` Helmut Hullen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CedICKtuCXB@helmut.hullen.de \
    --to=hullen@t-online.de \
    --cc=helmut@hullen.de \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.