Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man8/poolbind.8
Real path: /usr/share/man/man8/poolbind.8
Zurück
'\" te .\" Copyright (c) 2003, 2020, Oracle and/or its affiliates. .TH poolbind 8 "09 May 2017" "Oracle Solaris 11.4" "System Administration Commands" .SH NAME poolbind \- bind processes, tasks, or projects or query binding of processes to resource pools .SH SYNOPSIS .LP .nf \fB/usr/sbin/poolbind\fR \fB-p\fR \fIpoolname\fR \fB-e\fR \fIcommand\fR [\fIarguments\fR]... .fi .LP .nf \fB/usr/sbin/poolbind\fR \fB-p\fR \fIpoolname\fR [\fB-i\fR \fIidtype\fR] \fIid\fR... .fi .LP .nf \fB/usr/sbin/poolbind\fR \fB-q\fR \fIpid\fR... .fi .LP .nf \fB/usr/sbin/poolbind\fR \fB-Q\fR \fIpid\fR... .fi .SH DESCRIPTION .sp .LP The \fBpoolbind\fR command allows an authorized user to bind zones, projects, tasks, and processes to pools. With the \fB-e\fR option (see below), it can execute a command you specify, placing the executed command in a specified pool. It can also enable you to query a process to determine which pool a process is bound to. .sp .LP Only processes, projects, tasks, and contracts from the global zone can be selectively bound to a pool. If a process from a non-global zone needs to be bound, the binding must be performed on the zone. Even if a pool is bound to a non-global zone, global zone processes can be bound to that pool. .SH OPTIONS .sp .LP The following options are supported: .sp .ne 2 .mk .na \fB\fB-e\fR \fIcommand\fR [\fIarguments\fR...]\fR .ad .br .sp .6 .RS 4n Executes \fIcommand\fR, bound to the pool you specify with \fB-p\fR. .RE .sp .ne 2 .mk .na \fB\fB-i\fR \fIidtype\fR\fR .ad .br .sp .6 .RS 4n This option, together with the \fIidlist\fR arguments, specifies one or more processes to which the poolbind command is to apply. The interpretation of \fIidlist\fR depends on the value of \fIidtype\fR. The valid \fIidtype\fR arguments and corresponding interpretations of \fIidlist\fR are as follows: .sp .ne 2 .mk .na \fB\fIpid\fR\fR .ad .br .sp .6 .RS 4n \fIidlist\fR is a list of process \fBID\fRs. Binds the specified processes to the specified pool. This is the default behavior if no \fIidtype\fR is specified. .RE .sp .ne 2 .mk .na \fB\fItaskid\fR\fR .ad .br .sp .6 .RS 4n \fIidlist\fR is a list of task IDs. Bind all processes within the list of task IDs to the specified pool. .RE .sp .ne 2 .mk .na \fB\fIprojid\fR\fR .ad .br .sp .6 .RS 4n \fIidlist\fR is a list of project \fBID\fRs. Bind all processes within the list of projects to the specified pool. Each project \fBID\fR can be specified as either a project name or a numerical project \fBID\fR. See \fBproject\fR(5). .RE .sp .ne 2 .mk .na \fB\fIzoneid\fR\fR .ad .br .sp .6 .RS 4n \fIidlist\fR is a list of zone \fBID\fRs. Bind all processes within the list of zones to the specified pool. Each zone \fBID\fR can be specified as either a zone name or a numerical zone \fBID\fR. See \fBzones\fR(7). .sp A zone bound to a pool will only be able to observe the CPUs within the \fBpset\fR associated with the pool. .RE .RE .sp .ne 2 .mk .na \fB\fB-p\fR \fIpoolname\fR\fR .ad .br .sp .6 .RS 4n Specifies the name of a pool to which the specified zone, project, tasks, or processes are to be bound. .sp The pool may not be the name of a pool created by the \fBpsrset\fR(8) utility. Only pools created through the resource pools utilities are supported. Use \fBpsrset\fR(8) to bind pools created with \fBpsrset\fR(8). .RE .sp .ne 2 .mk .na \fB\fB-q\fR \fIpid\fR ...\fR .ad .br .sp .6 .RS 4n Queries the pool bindings for a given list of process IDs .RE .sp .ne 2 .mk .na \fB\fB-Q\fR \fIpid\fR ...\fR .ad .br .sp .6 .RS 4n Queries the resource bindings for a given list of process IDs. The resource bindings are each reported on a separate line. Currently the only resource type is \fBpset\fR. .RE .SH EXAMPLES .LP \fBExample 1\fR Binding Processes .sp .LP The following command binds all processes in projects \fB5\fR and \fB7\fR to the pool \fBweb_app\fR: .sp .in +2 .nf example# /usr/sbin/poolbind \fB-p\fR web_app \fB-i\fR projid 5 7 .fi .in -2 .sp .LP \fBExample 2\fR Binding the Running Shell .sp .LP The following command binds the running shell to the pool \fBweb_app\fR: .sp .in +2 .nf example# /usr/sbin/poolbind \fB-p\fR web_app $$ .fi .in -2 .sp .LP \fBExample 3\fR Querying the Pool Bindings .sp .LP The following command queries the bindings to verify that the shell is bound to the given pool: .sp .in +2 .nf example# /usr/sbin/poolbind \fB-q\fR $$ .fi .in -2 .sp .LP \fBExample 4\fR Querying the Resource Bindings .sp .LP The following command queries the bindings to verify that the shell is bound to the given resources: .sp .in +2 .nf example# /usr/sbin/poolbind \fB-Q\fR $$ .fi .in -2 .sp .SH EXIT STATUS .sp .LP The following exit values are returned: .sp .ne 2 .mk .na \fB\fB0\fR\fR .ad .RS 5n .rt Successful completion. .RE .sp .ne 2 .mk .na \fB\fB1\fR\fR .ad .RS 5n .rt Requested operation could not be completed. .RE .sp .ne 2 .mk .na \fB\fB2\fR\fR .ad .RS 5n .rt Invalid command line options were specified. .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Availability system/resource-mgmt/resource-pools _ Interface Stability See below. .TE .sp .sp .LP The invocation is Committed. The output is Uncommitted. .SH SEE ALSO .sp .LP \fBlibpool\fR(3LIB), \fBproject\fR(5), \fBattributes\fR(7), \fBresource-management\fR(7), \fBzones\fR(7), \fBpooladm\fR(8), \fBpoolcfg\fR(8), \fBpsrset\fR(8)