Solved

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

Posted on 2008-10-31
5
339 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
Comment Utility
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
Comment Utility
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
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.

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now