Limiting cpu usage per process

Manuel Arostegui Ramirez manuel at todo-linux.com
Tue Mar 1 14:50:50 UTC 2005


El Martes 01 Marzo 2005 15:35, McDougall, Marshall (FSH) escribió:
> I have a situation where I occasionally encounter a runaway vim process. 
> It eats up all available cpu.  I am looking for a way to limit the usage of
> said process.  I have seen Google results that allude to resource.h, but I
> have yet to find a comprehensive method of accomplishing this task.  Any
> help appreciated.  Thanks.
>
> Regards, Marshall

Look at /etc/security/limits.conf

-- 
Manuel Arostegui Ramirez #Linux Registered User 200896
Socio de Hispalinux 1813
Red Hat Linux 9, Kernel 2.6.2 ReiserFS
Firma  cifrada
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+3O1MqfmPcHTj+twRAm
yDAJ9P6ezepIMg06vOet/YPKxVoB+Z/ACfWVhh
---END PGP SIGNATURE-----




More information about the redhat-list mailing list