Sponsored Content
Full Discussion: Processor
Top Forums UNIX for Dummies Questions & Answers Processor Post 2971 by jwbrown on Wednesday 13th of June 2001 08:59:18 AM
Old 06-13-2001
Thanks, I will try that out.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

checking no of processor

Is there any other command to check no of processor rather than prtconf -v, prtdiag -v, banner (on boot PROM) (3 Replies)
Discussion started by: abi
3 Replies

2. AIX

Intel Processor

hello World I Hope to know Why AIX don't Run under INTEL Processor ?? If Any Project Is expected to make AiX to run Under INTEL Processor ??? Thank you ALL (3 Replies)
Discussion started by: mktahar
3 Replies

3. Shell Programming and Scripting

How to get Processor Id

Hi Everyone I am new to unix. I ahve few quries that i would like to post. Is there any way by which i get the unique processor Id. Actually i am unable to find any logic and method to get access to Processor Id. Is it possible to get it. I read it on Intel site that the new processor do no... (1 Reply)
Discussion started by: atul.saxena
1 Replies

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

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

6. UNIX for Dummies Questions & Answers

Processor bits

Hi friends pls let me know how to find sun processor is 32 bits or 64 bits through command line. thanks (2 Replies)
Discussion started by: anuragbirje
2 Replies

7. UNIX for Dummies Questions & Answers

Processor id/name

How to find out whether the system has multiple processors. In multiprocessor system how to get their names or ids How to send command to a particular processor ( can we use rsh) (6 Replies)
Discussion started by: anjum
6 Replies

8. Shell Programming and Scripting

Processor and Its speed

Hi I need a command to know how many processors are available and what is their speed in UNIX. Thanks (2 Replies)
Discussion started by: diksha2207
2 Replies

9. Shell Programming and Scripting

m4 processor (how to use)

hi, what plugins i need to install to run m4 processor in bash shell. Also, what is the file extension for m4 processor ( like .cc in c ). Thanks (1 Reply)
Discussion started by: Learnerabc
1 Replies

10. UNIX for Dummies Questions & Answers

Help for processor

hello Admins, how to find number of processor in unix machine. (2 Replies)
Discussion started by: vipinkumarr89
2 Replies
destroy_pset(3) 					     Library Functions Manual						   destroy_pset(3)

NAME
destroy_pset - Destroys a processor set LIBRARY
Pset Library (libpset.a) Mach Library (libmach.a) SYNOPSIS
#include <sys/types.h> #include <sys/processor.h> int destroy_pset( int pset_id, [1 | 0]); PARAMETERS
Specifies the identification number for the processor set that you want to destroy. The pset_id processor set identification number is returned by a successful create_pset() call. A second argument may be required if there are threads or processors assigned to the proces- sor set. A value of 1 will force the destruction of the pset. A value of 0 will not force destruction automatically but will first prompt the user. DESCRIPTION
The destroy_pset function destroys a processor set. A processor that belongs to a destroyed processor set is returned to the default pro- cessor set. You must have root privileges. EXAMPLES
The following is example code for pset_destroy.c using the destroy_pset call: retval = destroy_pset(pset_id, 0); if (retval == PROCESSOR_SET_ACTIVE) { printf ("processor set %d has active ", pset_id); printf ("processors/tasks/threads assigned to it.0); printf ("destroy anyway? (y/n): "); while ((char)c != 'y' && (char)c != 'n') c = getchar(); if ((char)c == 'y') { retval = destroy_pset(pset_id, 1); if (retval != KERN_SUCCESS) { print_pset_error(retval); RETURN VALUES
If the destroy_pset function succeeds, it returns a zero (0). If it fails, it returns a negative number. Use this number and the print_pset_error(3) function to print a message that describes the error. Processor set destruction is logged in the /var/adm/wtmp file. FILES
/var/adm/wtmp RELATED INFORMATION
create_pset(3), assign_cpu_to_pset(3), assign_pid_to_pset(3), print_pset_error(3), processor_sets(4), pset_create(1) delim off destroy_pset(3)
All times are GMT -4. The time now is 08:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy