Alban Crequy
543f3d5bdc
procspy: use a Reader to copy the background reader buffer
...
getWalkedProcPid() reads latestBuf every 3 seconds (for each report).
But performWalk() writes latestBuf every 10 seconds or so. So we need to
be able to read the same buffer several times.
2016-12-05 18:12:11 +01:00
Alfonso Acosta
d4b114daea
Review comments
2016-02-09 10:39:51 +00:00
Alfonso Acosta
dfc136904c
Review feedback
2016-02-09 10:00:04 +00:00
Alfonso Acosta
eb52adbbec
Raise maximum rate limit
2016-02-08 22:29:54 +00:00
Alfonso Acosta
0545d9a5c2
Fix variable scope bug
2016-02-08 21:04:26 +00:00
Alfonso Acosta
53bc710c4e
Review feedback
2016-02-08 19:28:54 +00:00
Alfonso Acosta
3dd2d45fe5
Review feedback
2016-02-08 13:42:55 +00:00
Alfonso Acosta
08969ec154
Clarify rate-limiting further
2016-02-08 13:42:55 +00:00
Alfonso Acosta
ccabaf5e6a
Use uint64 for fd counter
2016-02-08 13:42:55 +00:00
Alfonso Acosta
c09ad9e4f6
Adjust file descript rate-limit block
2016-02-08 13:42:54 +00:00
Alfonso Acosta
8c3c8994b1
Use levelled logging
2016-02-08 13:42:54 +00:00
Alfonso Acosta
6240187333
Fix tests
2016-02-08 13:42:54 +00:00
Alfonso Acosta
d4c68f48fa
Get rid of the package-level Connections func
2016-02-08 13:42:53 +00:00
Alfonso Acosta
6deeca0380
Cleanup
2016-02-08 13:42:53 +00:00
Alfonso Acosta
87dd43f782
Batch rate-limit to stats of /proc/*/fd/*
2016-02-08 13:42:53 +00:00
Alfonso Acosta
f922ea19c8
Rate-limit reading proc files
...
Use a reader in the background, dynamically rate-limited, reading the required
files in a loop
2016-02-08 13:42:52 +00:00