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.
Examples¶
when CLIENT_ACCEPTED {
if { [TMM::cmp_count] >= 2 } {
set cmpstatus 1
} else { set cmpstatus 0 }
}