06-02-2011, 11:38 PM
السلام عليكم ورحمة الله وبركاته :
عرض استهلاك العمليات على السيرفر
سنقوم بتركيب برنامج
Process Resource Monitor
# cd /usr/src
# wget http://www.rfxnetworks.com/downloads/prm-current.tar.gz
# tar xvfz prm-current.tar.gz
# cd prm*
# ./install.sh
تم التركيب
الان نقوم بالاعداد
cd /usr/local/prm/rules/
nano sc_trans
ونعدل الملف كالتالي
ادارة سكيورتي العرب
عرض استهلاك العمليات على السيرفر
سنقوم بتركيب برنامج
Process Resource Monitor
# cd /usr/src
# wget http://www.rfxnetworks.com/downloads/prm-current.tar.gz
# tar xvfz prm-current.tar.gz
# cd prm*
# ./install.sh
تم التركيب
الان نقوم بالاعداد
cd /usr/local/prm/rules/
nano sc_trans
ونعدل الملف كالتالي
كود :
# seconds to wait before rechecking a flaged pid (pid's noted resource
# intensive but not yet killed).
WAIT="12"
# counter limit that a process must reach prior to kill. the counter value
# increases for a process flaged resource intensive on rechecks.
KILL_TRIG="3"
# argument to pass onto kill commands
KARG="9"
# Max CPU usage readout for a process - % of all cpu resources (decimal values unsupported)
MAXCPU="20"
# Max MEM usage readout for a process - % of system total memory (decimal values unsupported)
MAXMEM="5"
ادارة سكيورتي العرب