Forum Discussion

Aurel's avatar
Aurel
Icon for Cirrus rankCirrus
Sep 13, 2013

HTTP_REQUEST in milliseconds

Hi everyone,

 

I cannot find how to have a more accurate request time than seconds. As lots of requests within the same second may be received by BigIP, i need to be able to make a difference.

 

What i'm using is "clock seconds" which giving me a timestamp in seconds.

 

I found previous posts about the same topic, but what i got is that it's only possible to have the delta between two "clicks" in milliseconds (or micro maybe) but that is not a value useful for having an HTTP_REQUEST time in a more accurate value than seconds.

 

Thank you for any help Aurel

 

6 Replies

  • My TCL version is 8.4.13 and i found out that newer version of TCL only are able to process a "clock milliseconds" command. I'm wondering then if an upgrade is possible on my BigIP but i'm not very confident about it. : S
  • Hi Aurel,

     

    Take a look at the formatting the clock value.

     

    Example (this one is in seconds): [ clock format [clock seconds] -format {%a} ]

     

    Then take a look here: Clock Manual Page for clock milliseconds.

     

    Hope this helps.

     

    • Aurel's avatar
      Aurel
      Icon for Cirrus rankCirrus
      Hi Michael, Thanks for your reply. I did got more information with this page, but that's confirm what i thought : only "clock milliseconds" and "clock microseconds" provides more accurate count from the epoch time, compare to "clock seconds". "clock format" applies to "clock seconds" only.
  • Hi Aurel,

     

    Take a look at the formatting the clock value.

     

    Example (this one is in seconds): [ clock format [clock seconds] -format {%a} ]

     

    Then take a look here: Clock Manual Page for clock milliseconds.

     

    Hope this helps.

     

    • Aurel's avatar
      Aurel
      Icon for Cirrus rankCirrus
      Hi Michael, Thanks for your reply. I did got more information with this page, but that's confirm what i thought : only "clock milliseconds" and "clock microseconds" provides more accurate count from the epoch time, compare to "clock seconds". "clock format" applies to "clock seconds" only.
  • I would check that with F5 support first but personally i wouldn't risk it, although it seems to be "just" linux i don't think you can just upgrade parts and expect everything to keep working fine. and im pretty sure it won't be supported.