Finding when the statistics were last cleared

Hi,

I can get the statistics of a Pool/VS using GUI or CLI, but is there aa way we can find out when these stats were last cleared.

Example :

VIRTUAL 10.1.1.1 UNIT 1

| ARP: enabled

| (cur, max, limit, tot) = (0, 190, 0, 850604)

| (pkts,bits) in = (66.47M, 219.6G), out = (70.27M, 482.1G)

±> SERVER test.example.com-8243 SERVICE 8243

| PVA acceleration none

| (cur, max, limit, tot) = (0, 3, 0, 113)

| (pkts,bits) in = (754, 2.163M), out = (529, 844464)

| requests (total) = 113

±> POOL TEST_PRD LB METHOD round robin MIN/CUR ACTIVE MEMBERS: 0/1

| conns (cur, max, limit, tot) = (0, 3, 0, 113)

| (pkts,bits) in = (795, 2.186M), out = (651, 903920)

±> POOL MEMBER TEST_PRD/1.1.1.1:8243 ACTIVE,UP SESSIONS ENABLED

| conns (cur, max, limit, tot) = (0, 3, 0, 113)

| (pkts,bits) in = (795, 2.186M), out = (651, 903920)

| requests (total) = 113

How do i find when were thses stats last cleared … this is what my question is … Thanks for any help i can get

I don’t think you can determine when the stats were cleared. What are you trying to determine this for?

There are a few cases I can think of where the stats would be cleared:

- Manually through the GUI. The request to the admin web server is a POST to /tmui/Control/form, so the httpd logs don’t show enough detail.

- Manually through the CLI. If it was root that cleared the stats, the .bash_history might contain the command and timestamp (in 9.4.2+?). Non-root users don’t have timestamps in the .bash_history.

- During a restart of services or a reboot of the unit. These events would be logged in /var/log/ltm.

Aaron