reset-stats

reset-stats(1)					  BIG-IP TMSH Manual				       reset-stats(1)

NAME
       reset-stats - Resets statistics for the specified components.

MODULE
       All tmsh modules.

SYNTAX
       Use the command reset-stats within a tmsh module to reset the statistics for the specified component to zero.
       To reset the statistics for the specified component in one module from within another module, use the full
       path to the component.

	reset-stats [component]
	reset-stats [component] [name]
	reset-stats / [module...module] [component]
	reset-stats / [module...module] [component] [name]

DESCRIPTION
       You can reset statistics for a group of components, or you can reset statistics for a specific component.

       After you reset statistics, when you run the command show, you may see a value of nan. This stands for not a
       number, which indicates that no data is currently available. Wait a few moments and run the command show
       again, and in most cases the nan value will be replaced by an integer value.

       It is important to note the following when you reset statistics:

       ·    For a data center, the system also resets the statistics for the servers in that data center.

       ·    For a Global Traffic Manager server, the system also resets the statistics for the virtual servers on
	    that server.

       ·    For a Global Traffic Manager pool, the system also resets the statistics for the pool members.

       ·    For a Local Traffic Manager pool, the system also resets the statistics for the pool members.

       ·    For a VLAN, you must reset the statistics for the trunks and interfaces associated with the VLAN.

       ·    You cannot reset statistics for system-supplied profiles.

EXAMPLES
       reset-stats pool

       From within the gtm module, resets the statistics for all of the Global Traffic Manager pools.

       reset-stats pool pool1

       From within the ltm module, resets the statistics for the Local Traffic Manager pool named pool1.

       reset-stats / ltm pool my_pool

       From within the gtm module, resets the statistics for the Local Traffic Manager pool named my_pool.

       reset-stats all-stats

       From within the sys performance module, resets all performance statistics for the system.

OPTIONS
       component
	    Specifies the type of the component for which you want to reset statistics.

       module
	    Specifies the module within which the component for which you want to reset statistics resides.

       name Specifies the unique name of the component for which you want to reset statistics.

SEE ALSO
       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 2008-2012. All rights reserved.

BIG-IP						      2012-04-05				       reset-stats(1)