pset_list man page on SmartOS

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

PSET_LIST(2)							  PSET_LIST(2)

NAME
       pset_list - get list of processor sets

SYNOPSIS
       #include <sys/pset.h>

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

DESCRIPTION
       The  pset_list()	 function returns a list of processor sets in the sys‐
       tem.

       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 buf‐
       fer  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.

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

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

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

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

       ┌────────────────────┬───────────────────┐
       │  ATTRIBUTE TYPE    │  ATTRIBUTE VALUE	│
       ├────────────────────┼───────────────────┤
       │Interface Stability │ Stable		│
       ├────────────────────┼───────────────────┤
       │MT-Level	    │ Async-Signal-Safe │
       └────────────────────┴───────────────────┘

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

				 Jun 28, 2004			  PSET_LIST(2)
[top]

List of man pages available for SmartOS

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