LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-01-2003, 10:22 PM   #1
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
nice setting ?


How exactly does the nice setting work?? In the man pages it says

Run COMMAND with an adjusted scheduling priority. With no
COMMAND, print the current scheduling priority. ADJUST is
10 by default. Range goes from -20 (highest priority) to
19 (lowest).

So it seems that giving a negative number would make it go faster??

I found this searching the wine forum

Hi to all,

The "nice -n 19" command is working very good.

Wouldn't that actually make it worse???

thanks
 
Old 04-01-2003, 10:47 PM   #2
log
Member
 
Registered: Dec 2002
Location: South Australia
Distribution: Gentoo
Posts: 113

Rep: Reputation: 15
Negative numbers mean that it runs faster, positive means slower. But sometimes you want something to run in the background, so you give it a positive number.

Yer, youre right btw
 
Old 04-01-2003, 11:39 PM   #3
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Original Poster
Rep: Reputation: 31
sorry, i totally forgot to mention what this was for. This is for wineX, trying to improve the games and that quote

Hi to all,

The "nice -n 19" command is working very good.

was actually taken from a wine forum and he was talking about it is helping him in wine.

So i guess that would make it worse and i need to use a negative number but i need to be root. Is there a way that i can set a program to run at a certain negative nice setting but run it as a regular user??

thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nice questions shukla_chanchal Linux - General 6 11-19-2005 06:04 PM
New to Linux, be nice to me. :) Dregnan LinuxQuestions.org Member Intro 5 05-27-2005 11:20 AM
x config - nice setting DrGnome Linux - Software 1 04-15-2004 07:21 AM
Google has been nice to my site. Is it nice to your site? Travis86 General 5 08-31-2003 02:38 PM
Nice and confused about nice Hangdog42 Linux - General 5 06-03-2003 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration