IBM Power7 Optimization And Tuning Manual page 93

Table of Contents

Advertisement

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
execrset -c 0-1 -e test2
execrset -P -c 0-1 -e test3
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().
Allocates and initializes an RSET and returns an RSET handle to
rs_alloc()
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.
Get information about an RSET.
rs_getinfo()
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()
ra_detachrset()
ra_exec()
the system registry.
Runs program test2 with an effective RSET that
contains logical CPU IDs 0 and 1.
Runs program test3 with a partition RSET that
contains logical CPU IDs 0 and 1.
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).
Detaches an RSET from the work unit that is specified by
the rstype_t/rsid_t parameters.
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.
77
Chapter 4. AIX

Advertisement

Table of Contents
loading

This manual is also suitable for:

Power7+

Table of Contents