pset_assign_pid(1) General Commands Manual pset_assign_pid(1)NAME
pset_assign_pid - Assigns a process ID to a processor set
SYNOPSIS
/usr/sbin/pset_assign_pid [-x] pset_id pid [pid...]
OPTIONS
Assigns exclusive use of the target processor set to each specified process identification number.
DESCRIPTION
The pset_assign_pid command assigns one or more process identification numbers to an existing processor set. The pset_id variable is a
unique integer that identifies the processor set and is returned by the pset_create command. The pid variable is the process identification
number, which is a unique integer that identifies the process. Each process identification number that is assigned is removed from its cur-
rent processor set.
Use the -x option to assign exclusive use of the processor set. If the processor set is already in use, a message is displayed, and the
command terminates without performing the assignment. If the exclusive assignment succeeds, new requests by other processes for assign-
ments to the specified processor set (pset_id) are denied.
SEE ALSO
Commands: pset_destroy(1), pset_create(1), pset_assign_cpu(1), pset_info(1)
Files: processor_sets(4)pset_assign_pid(1)
Check Out this Related Man Page
pset_assign_cpu(1) General Commands Manual pset_assign_cpu(1)NAME
pset_assign_cpu - Assigns a processor to a processor set
SYNOPSIS
/usr/sbin/pset_assign_cpu pset_id processor [processor...]
/usr/sbin/pset_assign_cpu -a pset_id number
OPTIONS
Adds the specified number of processors (number) to the specified processor set (pset_id) from the default processor set.
DESCRIPTION
The pset_assign_cpu command assigns one or more processors to an existing processor set. The pset_id variable is a unique integer that
identifies the processor set and is returned by the pset_create command. The processor variable is a unique integer that identifies the
processor. Each processor that is assigned to an existing processor set is removed from its current processor set. The boot processor
cannot be assigned.
Processor assignments are logged in the /var/adm/wtmp file.
FILES SEE ALSO
Commands: pset_destroy(1), pset_create(1), pset_assign_pid(1), pset_info(1)
Files: processor_sets(4)pset_assign_cpu(1)
Could anybody tell me which command I should use to see
how many percentage or something from the processor is used by various programs?
Thanx in Advance!
Erik:D (4 Replies)
Hey, can anyone recommend a URL (or website) where I can download a basic (or old) UNIX OS that will run on an ancient laptop that has a 386 processor, 4MB of RAM and a 40MB harddrive? Your help and suggestions are much appreciated! :confused: (4 Replies)
Hi all
The following error was displayed when a sco server (5.0.5) was booted. What should be done to overcome the problem. Replies appreciated.
Bios 03.0
0130688 KB memory good
01 processor(s) in system
remote console dialing on, please wait
connect fail : modem off
cpu clock... (6 Replies)
Hi Friends,
The command to check the processor bits is :
getconf KERNEL_BITS
but this is not working in ksh.
Is there any other alternate command that can be used for the same purpose . (4 Replies)
hi all,
Is there a simple script anyone could through out to me, to find the pid of a process given the name. I actually need to bind this pid to a processor set. I would probably put these comamns in a shell script which would have.
a) kick start the executable
b) get the pid
c) bind it to a... (10 Replies)
Hi Everyone,
I need to assign the value to the variable after selection.
Anyone can help me?
for example:
data_type_SQL=$($CONNECT cat <<-__EOF__
SET NOCOUNT ON
select location_type, location_id, warehouse from JEALOCATION where
LOCATION_ID="$data_LocID_SQL"
for "data_type_SQL"... (9 Replies)
Hi,
I am new to UNIX Scripting. I have been trying to use the CUT command to retrieve part of the header from a file and assign it to a variable. I have tried searching a lot, but I am still unsuccessful.
Sample Header: HJAN BALANCE 20090616
I need to retrieve the date here, which always... (10 Replies)
Hi to all in forum,
I'm trying to convert the letter number between 1 (A) and 26 (Z), that part is working, my issue is how to assign the printf output to a variable:LetterNumber=10
printf "\x$(printf %x $((${LetterNumber}+64)))"
$ J
#The problem, how to assign printf output (J in this... (8 Replies)
Hi, I have a variable which read the value from the lines, and if it is empty string (5 bytes), then I have to assign this variable to zero "0", it able to detect the data is empty by showing me the message "empty", but not able to assign it as zero.
WTHP=`echo "$file" | cut -c158-162`
if ]... (5 Replies)
I recently required some Sun Oracle Netra T5220s. I do not have much knowledge of Sun products.
The units do not have video cards or hard drives. How can I tell/go about figuring out what clock speed and how many cores the processor is?
They are all outfitted with 32GB of memory. Two are... (11 Replies)
Hi I have a text file with 2 values and I am trying to assign each value to a variable and then write those to text files.
So if the textfile is data.txt with 2 values x and y
I want to assign mean=x, and stdev=y and then write these out in text files alongwith the id ($id has already been... (6 Replies)
How does one assign a variable, x to equal the number of records in a different file.
I have a simple command such as below:
awk -F "\t" '(NR>5) { if(($x == "0/0")) { print $0} }' a.txt > a1.txt
but I want x to equal the number of records in a different file, b.txt (10 Replies)
Hi Guys,
I need to assign the value of which has rows to a variable, Can you advise how to do that
hive --orcfiledump /hdfs_path/ | grep "Rows"
Rows: 131554
I need to assign this row count itself to a unix variable
count=$(hive --orcfiledump /hdfs_path/ | grep "Rows")
Expected ... (6 Replies)
Hi,
I am trying to assign a value using below command and it is assigning the command to the variable not the output of the command?
out_value="echo $0 | cut -c 9-11";
How can i assign the output to the variable instead of whole command?
This is inside my awk script (7 Replies)