Can't use "nice" ?!

Can't use "nice" ?!

Posted by: calande
Posted on: 2007-08-08 13:11:00

I wanted to untar a large file, and I said "Let's use 'nice' just not to use too many resources" but I got a reply on the terminal saying I can't change priority of my processes...

Why?!!

Re: Can't use "nice" ?!

Posted by: matttail
Posted on: 2007-08-08 13:43:00

You should be able to. Contact support, Panel > Contact support.



--Matttail
art.googlies.net - personal website

Re: Can't use "nice" ?!

Posted by: Lensman
Posted on: 2007-08-08 13:51:00

Yeah, I've used nice before.

Re: Can't use "nice" ?!

Posted by: anonymous2
Posted on: 2007-08-08 14:33:00

It's unlikely I know, but just in case, what command did you give, precisely?

Re: Can't use "nice" ?!

Posted by: calande
Posted on: 2007-08-08 14:42:00

I typed:

%nice 19 tar xvjpf file.tbz file

Re: Can't use "nice" ?!

Posted by: pangea33
Posted on: 2007-08-08 18:09:00

I like to be considerate too. You can't use nice because of something that has to do with launching the process. "renice" is the key. Just do a "ps" and find out the number of your bash process. Then renice the shell.

i.e.: "renice +15 2772" assuming that ps shows 2772 for your shell process.

Re: Can't use "nice" ?!

Posted by: calande
Posted on: 2007-08-08 18:18:00

Thanks!

Re: Can't use "nice" ?!

Posted by: Lensman
Posted on: 2007-08-08 19:04:00

or you could just type:

nice -19 tar xvjpf file.tbz file

or

nice -n 19 tar xvjpf file.tbz file


Re: Can't use "nice" ?!

Posted by: anonymous2
Posted on: 2007-08-08 19:08:00

Getting the minus signs right can be difficult. ;-)

Tags: untarreplyprocesses