ltm rule command TMM cmp countΒΆ

iRule(1)		      BIG-IP TMSH Manual		      iRule(1)



TMM::cmp_count
       Provides the active number of TMM instances running.

SYNOPSIS
       TMM::cmp_count

DESCRIPTION
       This command provides the active number of TMM instances running.  To
       determine the blade the iRule is currently executing on, see the
       TMM::cmp_group page. To determine the CPU ID an iRule is currently
       executing on within a blade, see the TMM::cmp_unit page.

       Syntax

       TMM::cmp_count

RETURN VALUE
       Returns the active number of TMM instances running.

VALID DURING
       ANY_EVENT

EXAMPLES
	when CLIENT_ACCEPTED {
	  if { [TMM::cmp_count] >= 2 } {
	    set cmpstatus 1
	  } else { set cmpstatus 0 }
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-10.1.0 --First introduced the command.



BIG-IP				  2017-01-31			      iRule(1)