Operating System - HP-UX
1753844 Members
7611 Online
108806 Solutions
New Discussion юеВ

How to make a cpu offline / online from CLI for HP UX 11.0

 
Viswanadhan
Regular Advisor

How to make a cpu offline / online from CLI for HP UX 11.0

Hi Admins,

1. How to make a cpu offline / online from CLI for HP UX 11.0 to check cpu performance.

2. How to check CPU / processor speed, etc details.

Regards,
Viswa.
4 REPLIES 4
Ganesan R
Honored Contributor

Re: How to make a cpu offline / online from CLI for HP UX 11.0

Hi Viswa,

Through command we cannot disable/enable cpu's. But we can do it from pdc

To check the processor speed use the below command.

# echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem
Best wishes,

Ganesh.
Steven E. Protter
Exalted Contributor

Re: How to make a cpu offline / online from CLI for HP UX 11.0

Shalom,

Are you using this: http://www.teradata.com/DownloadCenter/Topic9186-107-1.aspx

Note that the OS you are using is out of support and you should plan upgrade/replacement to get support.

There is no value in disabling a CPU at your current OS, it does not cost you anything to leave it online.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: How to make a cpu offline / online from CLI for HP UX 11.0

Viswa,

>> 1. How to make a cpu offline / online from CLI for HP UX 11.0 to check cpu performance.

I guess from your previous posts you know that 11.00 is out of support yes? So what you expect to acheive by measuring CPU performance with different numbers of CPUs I'm not sure.

Anyway you can't de-configure CPUs from within the OS - the only way to do this would be from the boot console handler during a reboot. You don't mention what sort of server you have, but it will probably work like this:

1) Reboot system and interrupt the boot when you see the console message inviting you to interrupt.
2) From the BCH prompt go to the config menu by entering "CO"
3) Disable a CPU by entering "CPU n OFF" where n is the CPU number - e.g. to disable CPU 4 enter "CPU 4 OFF"
4) Continue the boot process by entering "BO PRI"

It should be obvious how to turn CPUs back on...

>> 2. How to check CPU / processor speed, etc details.

From a root prompt:

echo "selclass qualifier cpu;info;wait;infolog"|cstm

Will give you plenty of data on the CPU.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Viswanadhan
Regular Advisor

Re: How to make a cpu offline / online from CLI for HP UX 11.0

na