Sponsored Content
Full Discussion: CPU Processor ID
Operating Systems AIX CPU Processor ID Post 81798 by bakunin on Wednesday 24th of August 2005 08:43:19 AM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
ZBar::Processor(3pm)					User Contributed Perl Documentation				      ZBar::Processor(3pm)

NAME
Barcode::ZBar::Processor - self-contained bar code reader SYNOPSIS
setup: use Barcode::ZBar; my $reader = Barcode::ZBar::Processor->new(); $reader->init("/dev/video1", 1); $reader->parse_config('code39.disable'); $reader->set_data_handler(&my_handler); scan an image: $reader->process_image($image); scan from video: $reader->set_visible(); $reader->set_active(); $reader->user_wait(); DESCRIPTION
A Barcode::ZBar::Processor may be used to quickly create stand-alone bar code scanning applications. It has interfaces to scan images or video and to optionally display a video/image preview to a window. This interface is not well suited for integration with an existing GUI, as the library manages the optional preview window and any user interaction. Use a Barcode::ZBar::ImageScanner or Investigate the avilable widget interfaces for GUI applications. REFERENCE
Methods new() Create a new bar code reader instance. init([video_device], [enable_display]) Open a video input device and/or prepare to display output. set_data_handler([handler], [closure]) Setup a callback to process results whenever new results are available from the video stream or a static image. The specified callable will be invoked with the associated Barcode::ZBar::Processor object and closure as arguments. Closure may be achieved either using standard Perl closure or by manually passing a scalar via closure. is_visible() set_visible([visible]) Test/set visibility of the output window. set_active([active]) Enable/disable video streaming and scanning for bar codes. get_results() Return a list of Barcode::ZBar::Symbol results from the last scanned image or video frame. user_wait([timeout]) Wait for the user to press a key/button or close the window. Bar codes will continue to be processed if video is active. process_one([timeout]) Enable video and scan until at least one barcode is found. Note that multiple results may still be returned. process_image([image]) Scan a Barcode::ZBar::Image for bar codes. parse_config(configstr) Apply a decoder configuration setting. See the documentation for "zbarcam"/"zbarimg" for available configuration options. request_size(width, height) Request a preferred size for the video image from the device. The request may be adjusted or completely ignored by the driver. Must be called before "init()" SEE ALSO
Barcode::ZBar, Barcode::ZBar::Image, Barcode::ZBar::ImageScanner zbarimg(1), zbarcam(1) http://zbar.sf.net AUTHOR
Jeff Brown, <spadix@users.sourceforge.net> COPYRIGHT AND LICENSE
Copyright 2008-2009 (c) Jeff Brown <spadix@users.sourceforge.net> The ZBar Bar Code Reader is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. perl v5.14.2 2009-10-23 ZBar::Processor(3pm)
All times are GMT -4. The time now is 06:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy