how to obtain size for persist table

Hi,

Anyone knows how to have the number of entry in the persistence table for a virtual server ?

regards

You can try this:

b persist [ | all] [show [all]]

-J

Well, this isn’t an iRule question, but…

You can’t view the table by virtual. (though it should be possible)

You can, however, dump the whole table to a file and use perl to sort by virtual.

thanks you for your reply,

but the question is how obtain the size from an iRule.

No, there is currently no way to find this value from within iRules.

/deb

However, I’ve been told that a “timeout” function is planned to be added in the next feature release, which will apparently allow us to add timed records to an array. With that, you could build a replica of the persistence table within an iRule.

HTH

/deb

thanks you for your quick reply deb

Unfortunately, the “timeout” functionality is not in the “next feature release”, but in a future feature release… Darn those subtle, pesky details!