EasyManua.ls Logo

IBM Power7 - Page 93

IBM Power7
224 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4. AIX 77
򐂰 execrset: Runs a specific program or command with a specified RSET. For example:
execrset sys/node.04.00000 -e test Runs a program test with an effective RSET from
the system registry.
execrset -c 0-1 -e test2 Runs program test2 with an effective RSET that
contains logical CPU IDs 0 and 1.
execrset -P -c 0-1 -e test3 Runs program test3 with a partition RSET that
contains logical CPU IDs 0 and 1.
RSET manipulation and information services
This list contains only user space APIs. There are also similar kernel extension APIs. For
example, krs_alloc() is the kernel extension equivalent to rs_alloc().
rs_alloc() Allocates and initializes an RSET and returns an RSET handle to
a caller.
rs_free() Frees a resource set. The input is an RSET handle.
rs_init() Initializes a previously allocated RSET. The initialization options are
the same as for rs_alloc().
rs_op() Performs one of a set of operations against one or two RSETS.
rs_getinfo() Get information about an RSET.
rs_getrad() Get resource allocation domain information from an input RSET.
rs_numrads() Returns the number of system resource allocation domains at the
specified system detail level that have available or online resources.
rs_getpartition() Gets a process's partition RSET.
rs_setpartition() Sets a process's partition RSET.
rs_discardname()
rs_getnameattr()
rs_getnamedrset()
rs_setnameattr()
rs_registername() These are services that are used to manage the RSET system
registry. There are services to create, obtain, and delete RSETs in
the registry.
Attachment services
Here are the RSET attachment services:
ra_attachrset() A service to attach a work component to an RSET. The
service uses the rstype_t and rsid_t parameters to
identify the work component to attach to the input RSET
(specified by an rsethandle_t).
ra_detachrset() Detaches an RSET from the work unit that is specified by
the rstype_t/rsid_t parameters.
ra_exec() Runs a program that is attached to a specific work
component. The service uses rstype_t and rsid_t to
specify the work component. However, the only supported
rstype_t is R_RSET. All of the various versions of exec() are
supported.

Table of Contents

Related product manuals