ltm profile statistics
ltm profile statistics(1) BIG-IP TMSH Manual ltm profile statistics(1)
NAME
statistics - Configures a Statistics profile.
MODULE
ltm profile
SYNTAX
Configure the statistics component within the ltm profile module using the syntax shown in the following
sections.
CREATE/MODIFY
create statistics [name]
modify statistics [name]
options:
app-service [[string] | none]
defaults-from [ [name] | none]
description [string]
field1 [string]
field2 [string]
field3 [string]
field4 [string]
field5 [string]
field6 [string]
field7 [string]
field8 [string]
field9 [string]
field10 [string]
field11 [string]
field12 [string]
field13 [string]
field14 [string]
field15 [string]
field16 [string]
field17 [string]
field18 [string]
field19 [string]
field20 [string]
field21 [string]
field22 [string]
field23 [string]
field24 [string]
field25 [string]
field26 [string]
field27 [string]
field28 [string]
field29 [string]
field30 [string]
field31 [string]
field32 [string]
edit statistics [ [ [name] | [glob] | [regex] ] ... ]
options:
all-properties
non-default-properties
mv statistics [ [[source-name] [destination-name]] | [[name] to-folder [folder-name]] | [[name...name] to-folder [folder-name]] ]
options:
to-folder
reset-stats statistics
reset-stats statistics [ [ [name] | [glob] | [regex] ] ... ]
DISPLAY
list statistics
list statistics [ [ [name] | [glob] | [regex] ] ... ]
show running-config statistics
show running-config statistics
[ [ [name] | [glob] | [regex] ] ... ]
options:
all-properties
non-default-properties
one-line
partition
show statistics
show statistics [ [ [name] | [glob] | [regex] ] ... ]
options:
(default | exa | gig | kil | meg | peta | raw | tera | yotta | zetta)
field-fmt
DELETE
delete statistics [all | name]
DESCRIPTION
You can use the statistics component to create, modify, display, or delete a Statistics profile that provides
user-defined statistical counters.
EXAMPLES
create statistics my_stats_profile defaults-from stats
Creates a Statistics profile name my_stats_profile that inherits all settings and values from the profile
stats.
list statistics my_stats
Displays the configuration of the profile my_stats.
list statistics my_stats field1 total_users field2 current_users field3 max_users
Creates a Statistics profile named my_stats with a total users counter in Field 1 and a current users counter
in Field 2. You can then write an iRule to count the total number of connections, and record the current
number of connections.
For more information about writing and using iRules(r), see the F5 Networks DevCentral web site at
.
mv statistics /Common/my_statistics_profile to-folder /Common/my_folder
Moves a custom statistics profile named my_statistics_profile to a folder named my_folder, where my_folder has
already been created and exists within /Common.
OPTIONS
app-service
Specifies the name of the application service to which the profile belongs. The default value is none.
Note: If the strict-updates option is enabled on the application service that owns the object, you cannot
modify or delete the profile. Only the application service can modify or delete the profile.
defaults-from
Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings
and values from the parent profile specified. The default value is stats.
description
User defined description.
field1 ... field32
Specifies the name of a counter. You can specify a counter for up to 32 fields. The default value for
each field is none.
You can then write an iRule that uses the counter names to gather statistics about the traffic the system
is processing.
glob Displays the items that match the glob expression. See help glob for a description of glob expression
syntax.
name Specifies a unique name for the component. This option is required for the commands create, delete, and
modify.
partition
Displays the administrative partition within which the component resides.
to-folder
statistics profiles can be moved to any folder under /Common, but configuration dependencies may restrict
moving the profile out of /Common.
regex
Displays the items that match the regular expression. The regular expression must be preceded by an at
sign (@[regular expression]) to indicate that the identifier is a regular expression. See help regex for
a description of regular expression syntax.
SEE ALSO
create, delete, edit, glob, list, modify, mv, regex, show, tmsh
COPYRIGHT
No part of this program may be reproduced or transmitted in any form or by any means, electronic or
mechanical, including photocopying, recording, or information storage and retrieval systems, for any purpose
other than the purchaser's personal use, without the express written permission of F5 Networks, Inc.
F5 Networks and BIG-IP (c) Copyright 2009-2010, 2012. All rights reserved.
BIG-IP 2014-01-07 ltm profile statistics(1)