CPU Processor ID


 
Thread Tools Search this Thread
Operating Systems AIX CPU Processor ID
# 1  
Old 08-22-2005
CPU Processor ID

Hallo,

does anybody knows a trick to change the Processor ID in
AIX 4.3.3.

Thanks a lot
# 2  
Old 08-23-2005
I don't know what you mean by "processor ID", please clarify.

In case you want to change the output of "lsattr -El proc0": The information comes from the ODM (probably the tables CuAt and PdDv, maybe others too), so it should in principle be possible to change them to some arbitrary values with a finite amount of "odmput ...."-statements. (man odmput)

Even if that is possible (i have never tried it) you might end up ruining the installation and having to reinstall the machine. It might also be, that every time you run cfgmgr the values are being "corrected" to their original values because cfgmgr does exactly this: store information about devices into the ODM.

bakunin
# 3  
Old 08-23-2005
Hello,

i am getting with uname -a the ID of the machine.

On earlyer Versions it was possible to change with uname itselfe
this identification.

Thank you for your help, Bakunin
# 4  
Old 08-24-2005
Having no 4.x system at hand at the moment (regrettably I have upgraded my PC at home to 5.2) I can't find out, but to my knowledge uname was never able to change anything, just to display it.

The informaton you are after seems to be the machine ID, displayed by "uname -m". This, I'm pretty sure, can be found somewhere in the ODM, so prepare a list of ODM tables (/etc/objrepos is where they reside, you can leave out any file with a ".vc" ending) and try a

odmget <tablename> | grep -p "$(uname -m)"

to find the table where the information is stored. It is most likely that it is stored in more than one file. From there you could write a script which changes this information (perhaps it has to be changed in every table simultaneously) around odmput.

Another possiblity to change that is the "bootinfo" command (man bootinfo), but be extremely careful when using it. Its parameters have changed several times since 3.2.5 therefore please consult your documentation, I'm not sure if you could use the info my own manpage is giving me.

Sorry for being so general and unspecific, but perhaps finding the solution to your problem is a longer effort.

bakunin
# 5  
Old 08-26-2005
Hello Bakunin,

thank you for your Help again, you have given me good ideas.

Now i will look for this you explained.

But isn't there any easier way to fix it Smilie

Thanks a lot for your Help
# 6  
Old 08-27-2005
Hello again,

i remembered that some cloned the harddisk and so they had
the same installation on different computers, but each of them
got different ID's.

Is the ID written each time of booting to that files?



UXNI
# 7  
Old 08-29-2005
Quote:
Originally Posted by UXNI
Hello again,
Is the ID written each time of booting to that files?
This is very likely and in line with what I have written above: every time the machine boots the cfgmgr is run and (re-)builds the hardware-related ODM tables. This is how new hardware gets an entry in /dev and/or the respective ODM-table-entries are created. In fact some changes to the hardware inventory can only be be done at boot time as the cfgmgr runs in a special mode at that time which isn't (to my knowledge) reproduceable at runtime.

It may very well be that the machine ID is such a piece of information.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Why Entitlement CPU can't be set to same as Virtual CPU?

I read that Entitlement CPU should be set to max 75% compare to Virtual CPU. May I know the reason. I have set the Entitlement CPU = Virtual CPU on AIX . It works fine . Can you help to understand. (1 Reply)
Discussion started by: gabhanes
1 Replies

2. Solaris

CPU/processor/cores in M4000

Hi Gurus Can someone help me in explaining the below outputs . psrinfo -p 4 /usr/sbin/psrinfo -pv The physical processor has 4 virtual processors (0-3) SPARC64-VI (portid 1024 impl 0x6 ver 0x93 clock 2150 MHz) The physical processor has 4 virtual processors (8-11) SPARC64-VI... (3 Replies)
Discussion started by: ningy
3 Replies

3. UNIX for Dummies Questions & Answers

Is it possible to combine multiple CPU to act as a single CPU on the same server?

We have a single threaded application which is restricted by CPU usage even though there are multiple CPUs on the server, hence leading to significant performance issues. Is it possible to merge / combine multiple CPUs at OS level so it appear as a single CPU for the application? (6 Replies)
Discussion started by: Dissa
6 Replies

4. Hardware

Nodes/Processor/CPU's/threads/packages

Hello, can anyone explain me this jargon "Nodes/Processor/CPU's/threads/packages":confused: and what's the relation between these, I need to work on a cluster and I can not figure out the terminology. Thanks! any good link to read about these would also be very helpful Thanks! ... (1 Reply)
Discussion started by: nonothing
1 Replies

5. Solaris

cpu-shares vs cpu-cap in solaris

Can anyone tell me difference between cpu-shares vs cpu-cap in solaris & how FSS will work with cpu-caps ? (9 Replies)
Discussion started by: fugitive
9 Replies

6. Solaris

Multi CPU Solaris system shows 100% CPU usage.

Hello Friends, On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization. ========================================================================= $ prstat -a ... (4 Replies)
Discussion started by: mahive
4 Replies

7. AIX

Processor and processor core

Guys... Hows it going??? I have been going through the hardware spec of IBM system p systems.. and here i am confused for IBM Power 520 Express it says Processor cores: One, two or four 64-bit 4.2 GHz POWER6 with AltiVec™ SIMD and Hardware Decimal Floating-Point acceleration ... (1 Reply)
Discussion started by: balaji_prk
1 Replies

8. UNIX for Dummies Questions & Answers

how to get persistant cpu utilization values per process per cpu in linux (! top,ps)

hi, i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Discussion started by: pankajd
3 Replies

9. Programming

How can I get a processor's CPU Percentage?

you know that.. in HP-UX.. in sys/pstat.h struct pst_status { long pst_idx; /* Index for further pstat() requests */ long pst_uid; /* Real UID */ long pst_pid; /* Process ID */ .... float pst_pctcpu; /* %cpu for this process during p_time... (3 Replies)
Discussion started by: sangjinn
3 Replies

10. AIX

LPAR processor/virtual processor settings

Question is on setting of Physical and Virtual processors for LPARs to make proper use of virtualization capabilities. Environment is a 8-way p570 with 4 LPARs. lparVIO1 and lparVIO2: AIX 5300-04-01 Mode/Type= Shared-SMT/Capped Minimum Processors= 0.10 Desired Processors= 0.50 Maximum... (1 Reply)
Discussion started by: guttew
1 Replies
Login or Register to Ask a Question