Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pset_info(1) [osf1 man page]

pset_info(1)						      General Commands Manual						      pset_info(1)

NAME
pset_info - Displays processor set information SYNOPSIS
/usr/sbin/pset_info DESCRIPTION
The pset_info command displays information about processor sets and the processors that are assigned to each set. Note that a stopped pro- cessor is not a member of any processor set, and its processor set identification number is specified as -1. Also, depending on the machine architecture, processors may not be numbered consecutively. That is, a four-processor system may not have a processor with the number 3. NOTES
If a processor or processor set is queried while it is in transition (for example, processor set destruction or processor assignment), an error may be returned from the kernel. Running the command a second time will result in normal behavior. EXAMPLES
The following is an example of the output of the pset_info command: number of processor sets on system = 2 pset_id # cpus # pids # threads load_av created 0 1 26 63 0.90 09/21/1994 17:48:42 6 1 1 4 0.21 09/21/1994 23:33:37 total number of processors on system = 3 cpu # running boot_cpu pset_id assigned_to_pset 0 1 1 0 09/21/1994 17:48:42 1 1 0 6 09/21/1994 23:34:06 2 0 0 -1 09/21/1994 17:48:42 SEE ALSO
Commands: pset_assign_cpu(1), pset_assign_pid(1), pset_create(1), psradm(8) Files: processor_sets(4) pset_info(1)

Check Out this Related Man Page

pset_info(2)							   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 processor 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 successful 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 processors returned will be those of the processor set to which the caller is bound. If the caller is not bound to a processor 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. 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 processor set. 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), psrinfo(1M), psrset(1M), zoneadm(1M), processor_info(2), pset_assign(2), pset_bind(2), pset_create(2), pset_destroy(2), pset_getloadavg(3C), attributes(5) NOTES
The processor set of type PS_SYSTEM is no longer supported. SunOS 5.10 28 Jun 2004 pset_info(2)
Man Page