Print this page
manuals

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/flowadm.1m
          +++ new/usr/src/man/man1m/flowadm.1m
   1    1  '\" te
   2    2  .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
        3 +.\" Copyright (c) 2011, Joyent, Inc. All Rights Reserved
   3    4  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4    5  .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5    6  .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6    7  .TH FLOWADM 1M "Feb 14, 2009"
   7    8  .SH NAME
   8    9  flowadm \- administer bandwidth resource control and priority for protocols,
   9   10  services, containers, and virtual machines
  10   11  .SH SYNOPSIS
  11   12  .LP
  12   13  .nf
  13   14  \fBflowadm show-flow\fR [\fB-pP\fR] [\fB-S\fR] [\fB-s\fR [\fB-i\fR \fIinterval\fR]] [\fB-l\fR \fIlink\fR]
  14      -     [\fB-o\fR \fIfield\fR[,...]] [\fIflow\fR]
       15 +     [\fB-o\fR \fIfield\fR[,...]] [\fB-z\fR \fIzonename\fR] [\fIflow\fR]
  15   16  .fi
  16   17  
  17   18  .LP
  18   19  .nf
  19      -\fBflowadm add-flow\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-l\fR \fIlink\fR \fB-a\fR \fIattr\fR=\fIvalue\fR[,...]
  20      -     \fB-p\fR \fIprop\fR=\fIvalue\fR[,...] \fIflow\fR
  21      -\fBflowadm remove-flow\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] {\fB-l\fR \fIlink\fR | \fIflow\fR}
       20 +\fBflowadm add-flow\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-z\fR \fIzonename\fR] \fB-l\fR \fIlink\fR
       21 +     \fB-a\fR \fIattr\fR=\fIvalue\fR[,...] \fB-p\fR \fIprop\fR=\fIvalue\fR[,...] \fIflow\fR
       22 +\fBflowadm remove-flow\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-z\fR \fIzonename\fR] {\fB-l\fR \fIlink\fR | \fIflow\fR}
  22   23  .fi
  23   24  
  24   25  .LP
  25   26  .nf
  26   27  \fBflowadm set-flowprop\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-p\fR \fIprop\fR=\fIvalue\fR[,...] \fIflow\fR
  27   28  \fBflowadm reset-flowprop\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-p\fR \fIprop\fR[,...]] \fIflow\fR
  28   29  \fBflowadm show-flowprop\fR [\fB-cP\fR] [\fB-l\fR \fIlink\fR] [\fB-o\fR \fIfield\fR[,...]]
  29   30       [\fB-p\fR \fIprop\fR[,...]] [\fIflow\fR]
  30   31  .fi
  31   32  
↓ open down ↓ 38 lines elided ↑ open up ↑
  70   71  .LP
  71   72  \fBflowadm\fR is implemented as a set of subcommands with corresponding
  72   73  options. Options are described in the context of each subcommand.
  73   74  .SH SUB-COMMANDS
  74   75  .sp
  75   76  .LP
  76   77  The following subcommands are supported:
  77   78  .sp
  78   79  .ne 2
  79   80  .na
  80      -\fB\fBflowadm show-flow\fR [\fB-pP\fR] [\fB-s\fR [\fB-i\fR \fIinterval\fR]]
  81      -[\fB-o\fR \fIfield\fR[,...]] [\fB-l\fR \fIlink\fR] [\fIflow\fR]\fR
       81 +\fB\fBflowadm show-flow\fR [\fB-pP\fR] [\fB-s\fR [\fB-i\fR \fIinterval\fR]] [\fB-o\fR \fIfield\fR[,...]] [\fB-l\fR \fIlink\fR] [\fB-z\fR \fIzonename\fR] [\fIflow\fR]\fR
  82   82  .ad
  83   83  .sp .6
  84   84  .RS 4n
  85   85  Show flow configuration information (the default) or statistics, either for all
  86   86  flows, all flows on a link, or for the specified \fIflow\fR.
  87   87  .sp
  88   88  .ne 2
  89   89  .na
  90   90  \fB\fB-o\fR \fIfield\fR[,...]\fR
  91   91  .ad
↓ open down ↓ 124 lines elided ↑ open up ↑
 216  216  .ne 2
 217  217  .na
 218  218  \fB\fB-l\fR \fIlink\fR, \fB--link\fR=\fIlink\fR | \fIflow\fR\fR
 219  219  .ad
 220  220  .sp .6
 221  221  .RS 4n
 222  222  Display information for all flows on the named link or information for the
 223  223  named flow.
 224  224  .RE
 225  225  
      226 +.sp
      227 +.ne 2
      228 +.na
      229 +\fB\fB-z\fR \fIzonename\fR
      230 +.ad
      231 +.sp .6
      232 +.RS 4n
      233 +Operate on a link that has been delegated to the specified zone.
 226  234  .RE
 227  235  
      236 +.RE
      237 +
 228  238  .sp
 229  239  .ne 2
 230  240  .na
 231      -\fB\fBflowadm add-flow\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-l\fR
 232      -\fIlink\fR \fB-a\fR \fIattr\fR=\fIvalue\fR[,...] \fB-p\fR
 233      -\fIprop\fR=\fIvalue\fR[,...] \fIflow\fR\fR
      241 +\fB\fBflowadm add-flow\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-z\fR \fIzonename\fR] \fB-l\fR \fIlink\fR \fB-a\fR \fIattr\fR=\fIvalue\fR[,...] \fB-p\fR \fIprop\fR=\fIvalue\fR[,...] \fIflow\fR\fR
 234  242  .ad
 235  243  .sp .6
 236  244  .RS 4n
 237  245  Adds a flow to the system. The flow is identified by its flow attributes and
 238  246  properties.
 239  247  .sp
 240  248  As part of identifying a particular flow, its bandwidth resource can be limited
 241  249  and its relative priority to other traffic can be specified. If no bandwidth
 242  250  limit or priority is specified, the traffic still gets its unique layer 2, 3,
 243  251  and 4 queues and processing threads, including NIC hardware resources (when
↓ open down ↓ 17 lines elided ↑ open up ↑
 261  269  .ad
 262  270  .sp .6
 263  271  .RS 4n
 264  272  Specifies an alternate root directory where \fBflowadm\fR should apply
 265  273  persistent creation.
 266  274  .RE
 267  275  
 268  276  .sp
 269  277  .ne 2
 270  278  .na
      279 +\fB\fB-z\fR \fIzonename\fR
      280 +.ad
      281 +.sp .6
      282 +.RS 4n
      283 +Operate on a link that has been delegated to the specified zone.
      284 +.RE
      285 +
      286 +.sp
      287 +.ne 2
      288 +.na
 271  289  \fB\fB-l\fR \fIlink\fR, \fB--link\fR=\fIlink\fR\fR
 272  290  .ad
 273  291  .sp .6
 274  292  .RS 4n
 275  293  Specify the link to which the flow will be added.
 276  294  .RE
 277  295  
 278  296  .sp
 279  297  .ne 2
 280  298  .na
↓ open down ↓ 12 lines elided ↑ open up ↑
 293  311  .sp .6
 294  312  .RS 4n
 295  313  A comma-separated list of properties to be set to the specified values.
 296  314  .RE
 297  315  
 298  316  .RE
 299  317  
 300  318  .sp
 301  319  .ne 2
 302  320  .na
 303      -\fB\fBflowadm remove-flow\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-l\fR
 304      -{\fIlink\fR | \fIflow\fR}\fR
      321 +\fB\fBflowadm remove-flow\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-z\fR \fIzonename\fR] \fB-l\fR {\fIlink\fR | \fIflow\fR}\fR
 305  322  .ad
 306  323  .sp .6
 307  324  .RS 4n
 308  325  Remove an existing flow identified by its link or name.
 309  326  .sp
 310  327  .ne 2
 311  328  .na
 312  329  \fB\fB-t\fR, \fB--temporary\fR\fR
 313  330  .ad
 314  331  .sp .6
↓ open down ↓ 6 lines elided ↑ open up ↑
 321  338  .ne 2
 322  339  .na
 323  340  \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR
 324  341  .ad
 325  342  .sp .6
 326  343  .RS 4n
 327  344  Specifies an alternate root directory where \fBflowadm\fR should apply
 328  345  persistent removal.
 329  346  .RE
 330  347  
      348 +.sp
      349 +.ne 2
      350 +.na
      351 +\fB\fB-z\fR \fIzonename\fR
      352 +.ad
      353 +.sp .6
      354 +.RS 4n
      355 +Operate on a link that has been delegated to the specified zone.
      356 +.RE
      357 +
 331  358  .sp
 332  359  .ne 2
 333  360  .na
 334  361  \fB\fB-l\fR \fIlink\fR | \fIflow\fR, \fB--link\fR=\fIlink\fR | \fIflow\fR\fR
 335  362  .ad
 336  363  .sp .6
 337  364  .RS 4n
 338  365  If a link is specified, remove all flows from that link. If a single flow is
 339  366  specified, remove only that flow.
 340  367  .RE
↓ open down ↓ 680 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX