]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
cache.log analysis: Add a pattern to report alive (opened and not closed) FDs.
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 6 Jul 2012 22:35:28 +0000 (16:35 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Fri, 6 Jul 2012 22:35:28 +0000 (16:35 -0600)
scripts/find-alive.pl

index d32b403c54197857da9d7ed0c643456917dfaa7b..588a293d1db98ceaf37926a1c96476dfc4547777 100755 (executable)
@@ -51,6 +51,10 @@ my %Pairs = (
                'HttpStateData (\S+) created',
                'cbdataFree: Freeing (\S+)',
        ],
+       FD => [
+               'fd_open.*\sFD (\d+)',
+               'fd_close\s+FD (\d+)',
+       ],
 );
 
 if (!$Pairs{$Thing}) {