Thread: Terminating process if using high CPU usage for more than x seconds
is there program terminate process automatically if using more 90% or 100% cpu time more 5 seconds?
have program opens web browser, stuff on , close it. problem browser starts using 100% cpu
thank you.
have @ program monit
see also: http://www.ubuntugeek.com/monitoring...ing-monit.htmlcode:$ apt-cache show monit package: monit priority: section: universe/admin installed-size: 1056 maintainer: ubuntu developers <ubuntu-devel-discuss@lists.ubuntu.com> original-maintainer: stefan alfredsson <alfs@debian.org> architecture: i386 version: 1:5.2.1-1 depends: libc6 (>= 2.11), libpam0g (>= 0.99.7.1), libssl0.9.8 (>= 0.9.8m-1) filename: pool/universe/m/monit/monit_5.2.1-1_i386.deb size: 493800 md5sum: 5ccf2629da18532b0a6c0398b21d7815 sha1: 40ddc1cb4c977bbeea8593209a3bd913e878e4f1 sha256: c8efb95ad0c9319f820c81e77e62986b3bccf98f819a17bb19bd383820b90716 description: utility monitoring , managing daemons or similar programs monit utility monitoring , managing daemons or similar programs running on unix system. start specified programs if not running , restart programs not responding. . monit supports: * daemon mode - poll programs @ specified interval * monitoring modes - active, passive or manual * start, stop , restart of programs * group , manage groups of programs * process dependency definition * logging syslog or own logfile * configuration - comprehensive controlfile * runtime , tcp/ip port checking (tcp , udp) * ssl support port checking * unix domain socket checking * process status , process timeout * process cpu usage * process memory usage * process zombie check * check systems load average * check file or directory timestamp * alert, stop or restart process based on characteristics * md5 checksum programs started , stopped monit * alert notification program timeout, restart, checksum, stop resource , timestamp error * flexible , customizable email alert messages * protocol verification. http, ftp, smtp, pop, imap, nntp, ssh, dwp, ldapv2 , ldapv3 * http interface optional ssl support make monit accessible webbrowser bugs: https://bugs.launchpad.net/ubuntu/+filebug origin: ubuntu
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [xubuntu] Terminating process if using high CPU usage for more than x seconds
Ubuntu

Comments
Post a Comment