pbind man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

pbind(1M)							     pbind(1M)

NAME
       pbind, pexbind - bind a process to a processor

SYNOPSIS
       pbind -b	 processor_id pid...

       pbind -u	  pid...

       pbind [-q] [pid]

DESCRIPTION
       When  the  -b option is specified, pbind binds process(es) specified by
       the pid arguments to the processor specified by processorid.  Processes
       that are bound to a processor will run only on that processor excepting
       when the process requires a resource that only  another	processor  can
       provide.	 The  processor	 can  run other processes in addition to those
       that are bound to it.

       If there are already processes exclusively bound to the specified  pro‐
       cessor, the pbind command will fail.

       If a process specified bypid is already bound to a different processor,
       the binding for that process will be changed to the  specified  proces‐
       sor.  However,  if a process specified by pid is bound exclusively, the
       pbind command will fail.

       If the -u option is specified, any binding  will	 be  removed  for  the
       specified processes.

       Users can control only those processes they own, unless the user is the
       superuser.

       If the -q option is specified, pbind displays binding  information  for
       the  specified pids. If no pids are specified then pbind displays bind‐
       ing information for the entire system.

NOTES
       The pexbind command provides the options and command functionality, the
       latter in turn being provided by pbind.	Exclusive binding of a process
       to a processor by pexbind is not supported  in  ESVF.   To  exclusively
       bind  a	process	 to a processor, use the pset family of commands.  See
       the EXAMPLES section below.

EXAMPLES
       Exclusively bind a process to a processor:

       Create a processor set.	#pset_create pset_id = 2

       View the processor information.	#pset_info

       Number of processor sets on system = 2 pset_id  #  cpus	  #  pids    #
       threads	load_av	   created
	   0	     2	      45       74	 2.30	  02/13/99 09:48:51
	   2	     0	      0	       0	 0.00	  02/13/99 14:08:02

       Total  number  of  processors  on system = 2 cpu #    running  boot_cpu
       pset_id	assigned_to_pset
	  0	     1	       1       0     02/13/99 09:48:51
	  1	     1	       0       0     02/13/99 14:08:59

       Assign  a  cpu  (in  this  case,	 cpu  #1)  to	the   processor	  set.
       #pset_assign_cpu 2 1

       Get the process id from the process to be exclusively bound.  #exe_file
       & 12251

       Assign the process to the  processor  set  exclusively,	using  the  -x
       option #pset_assign_pid -x 2 12251

       View the processor information to verify the changes.  #pset_info

       Number  of  processor  sets  on system = 2 pset_id  # cpus   # pids   #
       threads	load_av	   created
	   0	     1	      45       74	 2.30	  02/13/99 09:48:51
	   2	     1	      1	       0	 0.30	  02/13/99 14:08:02

       Total number of processors on system = 2	 cpu  #	    running   boot_cpu
       pset_id	assigned_to_pset
	  0	     1	       1       0     02/13/99 09:48:51
	  1	     1	       0       2     02/13/99 14:08:59

SEE ALSO
       Commands:   pset_destroy(1),   pset_assign_cpu(1),  pset_assign_pid(1),
       pset_destroy(1), pset_info(1), processor_bind(3), processor_sets(4).

								     pbind(1M)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net