Unix/Linux Go Back    

OpenSolaris 2009.06 - man page for pset_list (opensolaris section 2)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

pset_list(2)				   System Calls 			     pset_list(2)

       pset_list - get list of processor sets

       #include <sys/pset.h>

       int pset_list(psetid_t *psetlist, uint_t *numpsets);

       The pset_list() function returns a list of processor sets in the system.

       If numpsets is non-null, then on successful completion the number of processor sets in the
       system will be stored in the location pointed to by numpsets.

       If numpsets and psetlist are both non-null, then psetlist points to a buffer where a  list
       of processor sets in the system is to be stored, and numpsets points to the maximum number
       of processor set IDs the buffer can hold.  On successful completion, the list of processor
       sets up to the maximum buffer size is stored in the buffer pointed to by psetlist.

       Upon  successful completion, 0 is returned. Otherwise, -1  is returned and errno is set to
       indicate the error.

       The pset_list() function will fail if:

       EFAULT	 The location pointed to by psetlist or numpsets was not null and not writable by
		 the user.

       If  the	caller	is  in	a  non-global  zone and the pools facility is active, pset_list()
       returns only the processor set of the pool to which the zone is bound.

       See attributes(5) for descriptions of the following attributes:

       |      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
       |Interface Stability	     |Stable			   |
       |MT-Level		     |Async-Signal-Safe 	   |

       pooladm(1M), psrset(1M),  zoneadm(1M),  processor_info(2),  pset_bind(2),  pset_create(2),
       pset_info(2), pset_getloadavg(3C), attributes(5)

SunOS 5.11				   28 Jun 2004				     pset_list(2)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 11:28 PM.