Changes to the "auto nice daemon" so it can work better in Emulab. * sensors/and/GNUmakefile.in: Emulab-specific make file. Updated to work with a build tree separate from the source and gave it a new version number. Files are installed under "/usr/testbed/" on ops. * sensors/and/Makefile: Add a warning that this is not the real makefile for us. * sensors/and/and-OpenBSD.c: Update to work with FreeBSD and add support for reporting process start time. * sensors/and/and-emulab.conf.in: Emulab-specific configuration, similar to the standard one, except it sends mail to tbops when it does something. * sensors/and/and-emulab.priorities: Emulab-specific priorities database. It excludes daemon pseudo users and the event-scheduler, otherwise, niceness levels apply to everyone. * sensors/and/and.8.man: Add the pid file to the 'FILES' section. * sensors/and/and.c: Added support for running a command when a niceness level change occurs. Also writes out the pid file when not running in test mode. * sensors/and/and.conf.5.man: Add docs for the level commands. * sensors/and/and.h: Add start time and child CPU time to the and_procent struct. * sensors/and/and.startup: Changed to use "test" instead of bash syntax and the pid file is now used instead of killall. Also added a "reconfig" option that HUPs the daemon.
Showing
- sensors/and/GNUmakefile.in 217 additions, 0 deletionssensors/and/GNUmakefile.in
- sensors/and/Makefile 10 additions, 1 deletionsensors/and/Makefile
- sensors/and/and-OpenBSD.c 19 additions, 9 deletionssensors/and/and-OpenBSD.c
- sensors/and/and-emulab.conf.in 59 additions, 0 deletionssensors/and/and-emulab.conf.in
- sensors/and/and-emulab.priorities 66 additions, 0 deletionssensors/and/and-emulab.priorities
- sensors/and/and.8.man 6 additions, 0 deletionssensors/and/and.8.man
- sensors/and/and.c 205 additions, 9 deletionssensors/and/and.c
- sensors/and/and.conf.5.man 54 additions, 0 deletionssensors/and/and.conf.5.man
- sensors/and/and.h 4 additions, 2 deletionssensors/and/and.h
- sensors/and/and.startup 25 additions, 9 deletionssensors/and/and.startup
Loading
Please register or sign in to comment