On Sat, Oct 27, 2007 at 09:35:41AM -0700, Darrin Chandler wrote:
> On Sat, Oct 27, 2007 at 01:57:06PM +0200, Karel Kulhavy wrote:
> > I am raytraing a video with a command "rt" and the "top" is showing this:
> > 
> > CPU states: 48.4% user, 48.7% nice,  3.0% system,  0.0% interrupt,  0.0% 
> > idle
> > [...]
> > PID USERNAME PRI NICE  SIZE   RES STATE    WAIT     TIME    CPU COMMAND
> > 29174 clock     79   10   33M   15M run      -        0:00  4.25% rt
> > 
> > What is the "nice" state? I know what userspace, system, interrupt handler
> > and idle task is, but nice?
> 
> You've been on this list and using OpenBSD for long enough that you
> should be trying things like "man nice", "apropos nice" and "man top"

man nice doesn't say what the "nice" state in the top printout is neither
man top says it.

>From the replies I got (none of which actually answered my question) it looks
like the "nice" state might be a state where the nice value != 0. Or less than
zero would also make sense. But it could be also that OpenBSD has the nice()
function like some other operating systems for giving up the scheduled time
back to the system and then the nice state might show amount of time
given up this way. So - what is the nice state printout actually?

> before asking these kinds of questions. Also, Googling for "unix nice"
> also yields plenty of info. If you learn how to find answers to
> extremely basic questions on your own using provided documentation it

If you have columns in a program printout with a meaning that isn't obvious
obvious - like this one, they should be described in the manual page. It's not
a mistake of the user if they aren't.

CL<
> will save you a lot of time.
> 
> -- 
> Darrin Chandler            |  Phoenix BSD User Group  |  MetaBUG
> [EMAIL PROTECTED]   |  http://phxbug.org/      |  http://metabug.org/
> http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation

Reply via email to