PRM Installation

Ideal place for discussions related to Linux/Windows server security, Apache, MySQL, MS SQL and PHP, including tutorials and questions.
Site Admin
Posts: 50
Joined: Thu May 30, 2013 10:28 pm

PRM Installation

Postby hrdedicated » Sat Jun 01, 2013 12:23 pm

PRM monitors the process table on a given system and matches process id's with
set resource limits in the config file or per-process based rules. Process
id's that match or exceed the set limits are logged and killed; includes
e-mail alerts, kernel logging routine and more



cd /usr/src
tar -zxvf prm-current.tar.gz
cd prm-0.*
perl -p -i -e 's/MIN_LOAD=.*/MIN_LOAD="5"/g' /usr/local/prm/conf.prm
perl -p -i -e 's/WAIT=.*/WAIT="20"/g' /usr/local/prm/conf.prm
perl -p -i -e 's/MAXCPU=.*/MAXCPU="60"/g' /usr/local/prm/conf.prm
perl -p -i -e 's/MAXMEM=.*/MAXMEM="40"/g' /usr/local/prm/conf.prm

PRM Start Test

/usr/local/sbin/prm -s

Return to “System Security”

Who is online

Users browsing this forum: No registered users and 1 guest