salima
11-02-2013, بتوقيت غرينيتش 02:12 AM
السلام عليكم ورحمة الله وبركاته :
عرض استهلاك العمليات على السيرفر SERVER
سنقوم بتركيب install برنامج
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
تم التركيب install
الان نقوم بالاعداد
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"
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©
عرض استهلاك العمليات على السيرفر SERVER
سنقوم بتركيب install برنامج
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
تم التركيب install
الان نقوم بالاعداد
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"
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©