Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

what is the command to  switchoff one processor in redhat 9Linux

Posted on 2008-10-31
5
343 Views
Last Modified: 2013-12-16
Hi,
I am Running Redhat9 in IBM Esever machine. It has two processors.Whats the command to find the two processors and how to switchoff one processor by command.
Regards,
Krishna
0
Comment
Question by:krishgudd
5 Comments
 
LVL 3

Accepted Solution

by:
PeterHardy earned 500 total points
ID: 22849235
Try the following.

In grub.conf change/add the line with this param

maxcpus=number_of_cpus

So if you want one cpu only you will write

maxcpus=1

and so on....
0
 
LVL 3

Expert Comment

by:saurabhpendharker
ID: 22983075
Hello,
In order to see the no. of processors or details of processors, you can try:

bash# cat /proc/cpuinfo

To see physical processors:
bash# grep 'physical id' /proc/cpuinfo | sort | uniq
physical id     : 0
physical id     : 3

To see virtual processors
bash# grep "^processor" /proc/cpuinfo
processor       : 0
processor       : 1
processor       : 2
processor       : 3

In order to disable or use just 1 CPU, you may need to add or change the following line in grub.conf:
maxcpus=1
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question