Forum > Linux

Optimized applications on Ubuntu 9.10 Karmic Alpha

<< < (2/2)

sunu:
Pepi, make a file named for example seti_gpu.sh and inside put:


--- Code: ---#!/bin/sh
while true
do
for arg in `ps -Lo lwp --no-headers -p $(pgrep setiathome-6)`
do
renice 0 -p ${arg}
done
sleep 5
done
--- End code ---

and then run it from a console (it might have to be a root console in your distro or run it with sudo).

You'll need to have the bsdutils and procps packages installed.

Pepi:
Sunu - thanks, but doesnot work :(
I will try to read what error appear

sunu:
Yes, what error does it give?

Navigation

[0] Message Index

[*] Previous page

Go to full version