How do I make my computer pace itself? (solved)

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

How do I make my computer pace itself? (solved)

#1 Post by Pizzasgood »

I need to know how to limit how fast applications can run. The specific reason is that I like the Matrix animation for the XLock deal, but it runs at full blast. I'd rather not leave my computer sitting there running full-tilt.

It would probably come in handy for other apps and situations too, though. Like as a saftey measure to keep a program from taking over all the processor cycles.
Last edited by Pizzasgood on Mon 28 Aug 2006, 04:45, edited 1 time in total.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

can8v
Posts: 586
Joined: Sat 15 Jul 2006, 08:20
Location: Yuba City, CA
Contact:

#2 Post by can8v »

I haven't had the need to do that in a few years. The last time I was running a brand spaken new pentium 75Mhz machine that ran my old Pirates game from Microprose way to fast (I couldn't win any of the duels because the computer would make the enemy pirates so fast). Fortunate the fix was easy Microprose had a disk available to slow my machine down. I have no idea what it did, but apparently there is software available for such a purpose.
-Jason

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#3 Post by GuestToo »

one thing you can do with processes is renice them, for example:

# xlock -inwindow -mode matrix &
[1] 30830
# renice 15 30830
30830: old priority 10, new priority 15
#

in a script, $! should be the pid of the last process started

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#4 Post by GuestToo »

or you can try:

xlock -inwindow -mode matrix -delay 60000 -nice 15

xlock -help

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#5 Post by Pizzasgood »

The second method worked. Thanks!
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

Post Reply