Re: Limit a process's CPU usage?

2003-03-30 Thread Karl E. Jorgensen
Jumping in late in this thread... On Fri, Mar 28, 2003 at 12:26:54PM +0100, Joerg Johannes wrote: Hi List I'm running [EMAIL PROTECTED] on my laptop, but the near 100% CPU usage results in my processor fan constatly being on. Is there a way on telling [EMAIL PROTECTED] to use the CPU at

Limit a process's CPU usage?

2003-03-28 Thread Joerg Johannes
Hi List I'm running [EMAIL PROTECTED] on my laptop, but the near 100% CPU usage results in my processor fan constatly being on. Is there a way on telling [EMAIL PROTECTED] to use the CPU at no more than, say 30%? I have already set it to nice 19, but this affects only the priority, so that an

Re: Limit a process's CPU usage?

2003-03-28 Thread Mark Janssen
On Fri, 2003-03-28 at 12:26, Joerg Johannes wrote: Hi List I'm running [EMAIL PROTECTED] on my laptop, but the near 100% CPU usage results in my processor fan constatly being on. Is there a way on telling [EMAIL PROTECTED] to use the CPU at no more than, say 30%? I have already set it

Re: Limit a process's CPU usage?

2003-03-28 Thread Thomas Krennwallner
On Fri Mar 28, 2003 at 12:26:54PM +0100, the boisterous Joerg Johannes [EMAIL PROTECTED] wrote to me: I'm running [EMAIL PROTECTED] on my laptop, but the near 100% CPU usage results in my processor fan constatly being on. Is there a way on telling [EMAIL PROTECTED] to use the CPU at no more

Re: Limit a process's CPU usage?

2003-03-28 Thread Frederik Dannemare
Fredag den 28. marts 2003 12:26 skrev Joerg Johannes: Hi List I'm running [EMAIL PROTECTED] on my laptop, but the near 100% CPU usage results in my processor fan constatly being on. Is there a way on telling [EMAIL PROTECTED] to use the CPU at no more than, say 30%? I have already set it to

Re: Limit a process's CPU usage?

2003-03-28 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Mar 28, 2003 at 12:50:00PM +0100, Mark Janssen wrote: Possible solution... run a process that keeps the cpu occupied with doing nothing... and give that a low, but higher then seti, priority... Nope, won't work. Windows does this, which is

Re: Limit a process's CPU usage?

2003-03-28 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Mar 28, 2003 at 12:26:54PM +0100, Joerg Johannes wrote: I'm running [EMAIL PROTECTED] on my laptop, but the near 100% CPU usage results in my processor fan constatly being on. Is there a way on telling [EMAIL PROTECTED] to use the CPU at

Re: Limit a process's CPU usage?

2003-03-28 Thread Joerg Johannes
Hi Mark Best solution... stop running setiathome... it's a waste of battery power I'm sure you're right about this one ;) Possible solution... run a process that keeps the cpu occupied with doing nothing... and give that a low, but higher then seti, priority... Or: Suspend the seti process

Re: Limit a process's CPU usage?

2003-03-28 Thread Joerg Johannes
On Friday 28 March 2003 12:52, Thomas Krennwallner wrote: A quick look gave me: limits(5) In Debian it seems to be /etc/security/limits.conf and not /etc/limits as described in limits(5) As I understand it, this will limit my whole CPU time (it is set on login). This is rather bad, as I use

Re: Limit a process's CPU usage?

2003-03-28 Thread Joerg Johannes
On Friday 28 March 2003 13:15, Frederik Dannemare wrote: Fredag den 28. marts 2003 12:26 skrev Joerg Johannes: Hi List I'm running [EMAIL PROTECTED] on my laptop, but the near 100% CPU usage results in my processor fan constatly being on. Is there a way on telling [EMAIL PROTECTED] to

Re: Limit a process's CPU usage?

2003-03-28 Thread Jonathan Matthews
On Fri, Mar 28, 2003 at 12:26:54PM +0100, Joerg Johannes wrote: Hi List I'm running [EMAIL PROTECTED] on my laptop, but the near 100% CPU usage results in my processor fan constatly being on. Is there a way on telling [EMAIL PROTECTED] to use the CPU at no more than, say 30%? I have

Re: Limit a process's CPU usage?

2003-03-28 Thread Nathan E Norman
On Fri, Mar 28, 2003 at 02:15:03PM +0100, Joerg Johannes wrote: On Friday 28 March 2003 12:52, Thomas Krennwallner wrote: A quick look gave me: limits(5) In Debian it seems to be /etc/security/limits.conf and not /etc/limits as described in limits(5) As I understand it, this will limit

Re: Limit a process's CPU usage?

2003-03-28 Thread Thomas Krennwallner
On Fri Mar 28, 2003 at 02:15:03PM +0100, the boisterous Joerg Johannes [EMAIL PROTECTED] wrote to me: A quick look gave me: limits(5) In Debian it seems to be /etc/security/limits.conf and not /etc/limits as described in limits(5) As I understand it, this will limit my whole CPU time (it

Re: Limit a process's CPU usage?

2003-03-28 Thread Thomas Krennwallner
On Fri Mar 28, 2003 at 08:34:21AM -0600, the boisterous Nathan E Norman [EMAIL PROTECTED] wrote to me: PS I don't have a limits(5) manpage. What package provides it? I do have the file /etc/security/limits.conf ... $ dpkg -S /usr/share/man/man5/limits.5.gz passwd:

Re: Limit a process's CPU usage?

2003-03-28 Thread Colin Watson
On Fri, Mar 28, 2003 at 08:34:21AM -0600, Nathan E Norman wrote: PS I don't have a limits(5) manpage. What package provides it? passwd, apparently. -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: Limit a process's CPU usage?

2003-03-28 Thread ronin2
On Fri, 28 Mar 2003 12:26:54 +0100 Joerg Johannes [EMAIL PROTECTED] wrote: processor fan constatly being on. Is there a way on telling [EMAIL PROTECTED] to use the CPU at no more than, say 30%? I have already set it to nice 19, but this affects only the priority, so that an other process can

Re: Limit a process's CPU usage?

2003-03-28 Thread Nathan E Norman
On Fri, Mar 28, 2003 at 05:01:39PM +0100, Thomas Krennwallner wrote: On Fri Mar 28, 2003 at 08:34:21AM -0600, the boisterous Nathan E Norman [EMAIL PROTECTED] wrote to me: PS I don't have a limits(5) manpage. What package provides it? I do have the file /etc/security/limits.conf ... $