Updated canaryd, ended up starting fresh and pulling things in, rather
than jamming more stuff into the old one. Most of the code came from the previous version of canaryd, the cpu broker (process accounting), and the janosvm (network interface accounting). Its missing some features of the old one, but those can be incorporated without too much trouble. Changes: Designed to permanently run on the pnodes: it waits for START events before it begins recording. However, I haven't done the work necessary to have it always startup on the pnodes. No more exec'ing: process stuff is taken from "/proc", and network interface stats are pulled from getifaddrs(3). Fixed some minor bugs: A typo caused the real-time priority to not be set, use setitimer instead of sleep to get more accurate spacing between samples.
Showing
- sensors/canaryd/GNUmakefile.in 3 additions, 3 deletionssensors/canaryd/GNUmakefile.in
- sensors/canaryd/auxfuncs.c 58 additions, 13 deletionssensors/canaryd/auxfuncs.c
- sensors/canaryd/auxfuncs.h 4 additions, 1 deletionsensors/canaryd/auxfuncs.h
- sensors/canaryd/canaryd.c 680 additions, 1056 deletionssensors/canaryd/canaryd.c
- sensors/canaryd/canarydEvents.c 108 additions, 0 deletionssensors/canaryd/canarydEvents.c
- sensors/canaryd/canarydEvents.h 59 additions, 0 deletionssensors/canaryd/canarydEvents.h
- sensors/canaryd/childProcess.c 310 additions, 0 deletionssensors/canaryd/childProcess.c
- sensors/canaryd/childProcess.h 168 additions, 0 deletionssensors/canaryd/childProcess.h
- sensors/canaryd/networkInterface.c 65 additions, 0 deletionssensors/canaryd/networkInterface.c
- sensors/canaryd/networkInterface.h 37 additions, 0 deletionssensors/canaryd/networkInterface.h
Loading
Please register or sign in to comment