Results 1 to 4 of 4

Thread: Suse linux command to count cpu

  1. #1
    Join Date
    Jan 2009
    Posts
    92

    Suse linux command to count cpu

    I have installed Linux on my system. I would like to know that how can i use suse linux command in order to count cpu? Can any body provide me the correct command been used to determine the cpu core count on my system? Kindly provide me the correct information on the above issue.

  2. #2
    Join Date
    Jan 2008
    Posts
    3,388

    Re: Suse linux command to count cpu

    I'm not very sure about the particular code, but you can try out on your system. Hope so it may help you.

    cat /proc/cpuinfo | grep 'cpu cores'

  3. #3
    Join Date
    May 2008
    Posts
    4,085

    Re: Suse linux command to count cpu

    Just about everything is recognised and supported straight out of the box - no need to select devices by hand during installation. You can also execute a command by its offset from the highest entry in the history list: $ !-3 would execute event number 51, if there were 53 events in the history list. Variables can be set temporarily at the prompt:
    $HISTSIZE=100
    Or, set permanently, either on a system wide basis in /etc/profile (requires root privileges), or locally in .profile.

  4. #4
    Join Date
    Apr 2008
    Posts
    3,267

    Re: Suse linux command to count cpu

    Access permissions can be set with character symbols or, binary masks using the chmod command. Consider a system with two physical CPU's, each of which has two cores, each of which is hyperthreaded. You will see 8 cores in Windows task manager or in top on Linux. A simplistic count of output from /proc/cpuinfo will also see 8 cores. If you parse /proc/cpuinfo output more carefully, you can see there are only 4 cores.

Similar Threads

  1. Not able to run BCompare-3 on SUSE Linux Enterprise 11
    By Rasesh in forum Windows Software
    Replies: 3
    Last Post: 03-08-2012, 06:29 PM
  2. READ-ONLY problem on Linux 8.0 (SuSE)
    By Asuman in forum Operating Systems
    Replies: 3
    Last Post: 30-04-2009, 10:08 AM
  3. SuSE Linux from 32bit to 64bit
    By urgaffel in forum Operating Systems
    Replies: 2
    Last Post: 24-03-2009, 07:11 PM
  4. How do i set password in Suse Linux
    By Dheran in forum Operating Systems
    Replies: 2
    Last Post: 03-03-2009, 03:41 PM
  5. How to change Mac Address in Suse Linux 9.2
    By compuboy_r in forum Networking & Security
    Replies: 2
    Last Post: 05-07-2005, 10:14 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,509,062.91481 seconds with 17 queries