Sponsored Content
Full Discussion: AIX Question
Top Forums UNIX for Advanced & Expert Users AIX Question Post 18022 by mikek147 on Friday 22nd of March 2002 06:53:54 AM
Old 03-22-2002
AIX Question

Does anyone know of an AIX command that gets cpu type, speed and number of processors? TIA -mk
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

aix's question

hi all, i'm really new to the aix system and i need ur help currently the home directory(/dev/hd1) is full, and i need to add more space to it from /dev/lv03. How do i do it?..can you show me step by step thankx (1 Reply)
Discussion started by: ichiro
1 Replies

2. UNIX for Dummies Questions & Answers

AIX Question

What does it mean when a file has non-root ownership? (1 Reply)
Discussion started by: danielssk
1 Replies

3. AIX

AIX Virtualization question for non-AIX user

Hello, My first post to the Unix forums, thanks for having me! The division of the company I work for uses a xseries/redhat/VMWareServer solution to make sure that we keep hardware overhead low and use our machines to as near capacity as we can. These boxes are Intel with usually dual or... (1 Reply)
Discussion started by: greenteabagger
1 Replies

4. UNIX for Dummies Questions & Answers

PLI on AIX question

Hi, all. Can someone please help me with one problem? Maybe it's very simple but I have confused with it and need the help please. I have some PLI programs to be moved from MVS to AIX. These programs contain some SQLs on unqualified tables (for ex., select * from table1). When I compile... (0 Replies)
Discussion started by: Anta
0 Replies

5. AIX

got a dumb question where do i get AIX 5.3 from

Guys, ive been looking about , but obviously not hard enough, Where do i get AIX 5.3 from ? DO i need to purchase it or is it free to download on a single user license ?:confused: Thanks (2 Replies)
Discussion started by: wmccull
2 Replies

6. AIX

AIX question..

Hi, There is a script runs as a specific user called "unixusr". But we don't want to give the access to the other teams to run as that id as that id owns lot of system binaries and libraries in other directories.. So can we create another id called "intusr" and internally set something in this... (3 Replies)
Discussion started by: everurs789
3 Replies

7. AIX

AIX v5.2 Printer Question

Hi All, I have an AIX server runing v5.2.0.0 OS and i am trying to print to a printer attached to the parallel port. I have successfully configured a printer and a print queue. However, when i submit the job i get the following error Message from queueing system: 0781-088 Queue z:lp0 went... (4 Replies)
Discussion started by: rramanuj
4 Replies

8. AIX

AIX IP security question

Recently the network auditor found a security hole at port 50000. The port 50000 is used by db2. When I enter command "netstat -Aan |grep 50000", it showed some established connections and are all db2 processes. I have asked the application team and they answered that the port 50000 connection... (2 Replies)
Discussion started by: skeyeung
2 Replies

9. AIX

Some question about AIX

I have some question about aix: i know many unix system(hpux,solaris,etc) but never work with aix.. First question: updates/fixes are free or only commercial support? Second: Is easy like hpux,there are many differences between aix and other unix system? Thanks (5 Replies)
Discussion started by: Linusolaradm1
5 Replies
assign_cpu_to_pset(3)					     Library Functions Manual					     assign_cpu_to_pset(3)

NAME
assign_cpu_to_pset - Assigns a processor to a processor set LIBRARY
Pset Library (libpset.a) Mach Library (libmach.a) SYNOPSIS
#include <sys/types.h> #include <sys/processor.h> int assign_cpu_to_pset( unsigned long cpu, long pset_id , long option ); PARAMETERS
Processor or processors to assign to the specified processor set. Processor set identifier, which is returned by the create_pset function. Specifies a bit mask. Currently, only the ANY_CPU bit is supported. If this bit is set, the value specified by the cpu variable is the number of processors to be assigned to the specified processor set from the default processor set. If the ANY_CPU bit is not set, the value specified by the cpu variable is the mask of processors to be assigned to the processor set. DESCRIPTION
The assign_cpu_to_pset function removes processors from their current processor set and assigns them to the processor set specified by the pset_id variable. This function requires root privileges. If the ANY_CPU option is specified, the number of processors specified by the cpu variable are assigned from the default processor set to the processor set that is specified with the pset_id variable. If the specified number of processors are not available in the default pro- cessor set, an error is returned and no processors are assigned. If the ANY_CPU option is not set, the value specified by the cpu variable is a mask of processors to be assigned to the specified processor set. For example, if you specify a cpu value of 6, then processors 2 and 3 are assigned to the processor set. Note that processors are not required to start in slot 0 on some platforms. For example, you may see a three-processor system with proces- sors in slots 6, 7, and 8. The console assigns the master processor at power up, which is usually the processor in slot 0 if it is occu- pied. However, there is no requirement that slot 0 must be populated or that the master is the first processor on the bus. In the example of the three-processor (slots 6, 7, and 8) system, the master processor will be the one in slot 6. Processor assignments are logged in the /var/adm/wtmp file. RETURN VALUES
If the processor assignment is successful, the assign_cpu_to_pset function returns zero (0). If the assignment is unsuccessful, the func- tion returns a negative number. Use the print_pset_error function to print a message that describes the error. FILES
/var/adm/wtmp RELATED INFORMATION
bind_to_cpu(3), create_pset(3), destroy_pset(3), assign_pid_to_pset(3), print_pset_error(3), processor_sets(4), pset_create(1) delim off assign_cpu_to_pset(3)
All times are GMT -4. The time now is 05:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy