forked from matsumotory/mod_rchecker
-
Notifications
You must be signed in to change notification settings - Fork 0
ku-suke/mod_rchecker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
// ------------------------------------------------------------------- // mod_rchecker.c // Process Resource Logging Module // by rusage(). // By matsumoto_r Sep 2009 in Japan // // Date 2009/12/08 // Version 0.01-beta // // change log // 2009/12/08 matsumoto_r coding start // 2013/01/06 ku-suke fork from master // // ------------------------------------------------------------------- // ------------------------------------------------------------------- // How To Compile // [Use DSO] // apxs -c -D__MOD_APACHE2__ mod_rchecker.c // cp ./.libs/mod_rchecker.so /usr/local/apache2/modules // // <add to httpd.conf> // LoadModule rchecker_module modules/mod_rchecker.so // // ------------------------------------------------------------------- // ------------------------------------------------------------------- // How To Use // [Server Config] // // // ------------------------------------------------------------------- // [Directive Config] // // log file: /tmp/mod_rchecker.log // or #define MOD_RCHECKER_LOG_FILE "/tmp/mod_rchecker.log" // // - Logging CPUUserTime // RCheckUCPU <threashould> <type> // // - Logging CPUSystemTime // RCheckSCPU <threashould> <type> // // - Logging UsedMemory // RCheckMEM <threashould> <type> // // <threashould> digit(non-zero) // // <type> ALL // SELF // CHILD // // = Directory Access Control - // <Directory "/var/www/html"> // RCheckUCPU 0.0001 ALL // </Directory> // // = File Access Control - // <Files "ag.cgi"> // RCheckUCPU 0.003 SELF // RCheckSCPU 0.004 CHILD // </Files> // // = Files Regex Access Control - // <FilesMatch ".*\.cgi$"> // RCheckUCPU 0.005 ALL // </FilesMatch> // // -------------------------------------------------------------------
About
mod_rchecker
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 100.0%