|
Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!
System Calls pset_info(2)
NAME
pset_info - get information about a processor set
SYNOPSIS
#include <sys/pset.h>
int pset_info(psetid_t pset, int *type, uint_t *numcpus,
processorid_t *cpulist);
DESCRIPTION
The pset_info() function returns information on the proces-
sor set pset.
If type is non-null, then on successful completion the type
of the processor set will be stored in the location pointed
to by type. The only type supported for active processor
sets is PS_PRIVATE.
If numcpus is non-null, then on successful completion the
number of processors in the processor set will be stored in
the location pointed to by numcpus.
If numcpus and cpulist are both non-null, then cpulist
points to a buffer where a list of processors assigned to
the processor set is to be stored, and numcpus points to the
maximum number of processor IDs the buffer can hold. On suc-
cessful completion, the list of processors up to the maximum
buffer size is stored in the buffer pointed to by cpulist.
If pset is PS_NONE, the list of processors not assigned to
any processor set will be stored in the buffer pointed to by
cpulist, and the number of such processors will be stored in
the location pointed to by numcpus. The location pointed to
by type will be set to PS_NONE.
If pset is PS_MYID, the processor list and number of proces-
sors returned will be those of the processor set to which
the caller is bound. If the caller is not bound to a proces-
sor set, the result will be equivalent to setting pset to
PS_NONE.
RETURN VALUES
Upon successful completion, 0 is returned. Otherwise, -1 is
returned and errno is set to indicate the error.
ERRORS
The pset_info() function will fail if:
EFAULT The location pointed to by type, numcpus, or
cpulist was not null and not writable by the
user.
SunOS 5.10 Last change: 28 Jun 2004 1
System Calls pset_info(2)
EINVAL An invalid processor set ID was specified.
The caller is in a non-global zone, the
pools facility is active, and the processor
is not a member of the zone's pool's proces-
sor set.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Stable |
|_____________________________|_____________________________|
| MT-Level | Async-Signal-Safe |
|_____________________________|_____________________________|
SEE ALSO
pooladm(1M), psrinfo(1M), psrset(1M), zoneadm(1M),
processor_info(2), pset_assign(2), pset_bind(2),
pset_create(2), pset_destroy(2), pset_getloadavg(3C), attri-
butes(5)
NOTES
The processor set of type PS_SYSTEM is no longer supported.
SunOS 5.10 Last change: 28 Jun 2004 2
Man(1) output converted with
man2html and wrapped by fishsponge
This page was generated on Wed Sep 12 11:27:05 GMT 2007
|
Your favourite pages:
No pages logged yet... Top 10 most popular pages:
prstat man page (24547 hits) (Solaris 10 11_06)
netcat man page (17695 hits) (Suse Linux 10.1)
ssh-socks5-proxy-connect man page (13535 hits) (Solaris 10 11_06)
signal man page (12551 hits) (Suse Linux 10.1)
startproc man page (11991 hits) (Suse Linux 10.1)
raidctl man page (11357 hits) (Solaris 10 11_06)
adv_cap_autoneg man page (10288 hits) (Solaris 10 11_06)
sqlite3 man page (9729 hits) (openSUSE 10.2)
CPAN man page (8947 hits) (Suse Linux 10.1)
BusyBox man page (7702 hits) (Suse Linux 10.1)
|