Re: What is the nice process state?

2007-11-03 Thread Karel Kulhavy
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 [...]

Re: What is the nice process state?

2007-11-03 Thread Lars Noodén
Karel Kulhavy wrote: ... man nice doesn't say what the nice state in the top printout is neither man top says it. ... Bug report time. Manpages are 'easy' to update. -Lars

Re: What is the nice process state?

2007-11-03 Thread Karel Kulhavy
On Sat, Nov 03, 2007 at 01:40:11PM +0200, Lars Noodin wrote: Karel Kulhavy wrote: ... man nice doesn't say what the nice state in the top printout is neither man top says it. ... Bug report time. Manpages are 'easy' to update. I don't think that should be added into man nice. I think

Re: What is the nice process state?

2007-11-03 Thread Douglas A. Tutty
On Sat, Nov 03, 2007 at 11:45:36AM +0100, Karel Kulhavy wrote: 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

Re: What is the nice process state?

2007-11-03 Thread Jason McIntyre
On Sat, Nov 03, 2007 at 11:45:36AM +0100, Karel Kulhavy wrote: 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.

Re: What is the nice process state?

2007-11-03 Thread Woodchuck
On Sat, 3 Nov 2007, Karel Kulhavy wrote: PID USERNAME PRI NICE SIZE RES STATEWAIT TIMECPU 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

Re: What is the nice process state?

2007-11-03 Thread Karel Kulhavy
On Sat, Nov 03, 2007 at 08:55:04AM -0400, Douglas A. Tutty wrote: On Sat, Nov 03, 2007 at 11:45:36AM +0100, Karel Kulhavy wrote: 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

Re: What is the nice process state?

2007-11-03 Thread Martin Schröder
2007/11/3, Karel Kulhavy [EMAIL PROTECTED]: It's clear to me what is the nice column. I asked for the nice state instead - if you run top, you have a line CPU state: ...0.0% nice... - that's the one I am asking about. Go away, troll.

Re: What is the nice process state?

2007-11-03 Thread Karel Kulhavy
On Sat, Nov 03, 2007 at 04:21:13PM +0100, Martin Schrvder wrote: 2007/11/3, Karel Kulhavy [EMAIL PROTECTED]: It's clear to me what is the nice column. I asked for the nice state instead - if you run top, you have a line CPU state: ...0.0% nice... - that's the one I am asking about. Go

Re: What is the nice process state?

2007-11-03 Thread Karel Kulhavy
On Sat, Nov 03, 2007 at 01:15:14PM +, Jason McIntyre wrote: On Sat, Nov 03, 2007 at 11:45:36AM +0100, Karel Kulhavy wrote: 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

Re: What is the nice process state?

2007-11-03 Thread Jason McIntyre
On Sat, Nov 03, 2007 at 05:14:13PM +0100, Karel Kulhavy wrote: neither man top says it - have you actually read top(1)? it does document the NICE column. it also lists renice(8) in the SEE ALSO section. hehe yes, but I am not asking about the NICE column, but about the nice CPU state

Re: What is the nice process state?

2007-11-03 Thread Nick Guenther
On Nov 3, 2007 12:20 PM, Karel Kulhavy [EMAIL PROTECTED] wrote: On Sat, Nov 03, 2007 at 04:21:13PM +0100, Martin Schrvder wrote: Go away, troll. Wrong answer. Cf. Patricia Evans - Controlling People. The definition of troll includes with the intention of baiting users into an

Re: What is the nice process state?

2007-11-03 Thread Martin Schröder
2007/11/3, Karel Kulhavy [EMAIL PROTECTED]: On Sat, Nov 03, 2007 at 04:21:13PM +0100, Martin Schrvder wrote: Go away, troll. Wrong answer. Cf. Patricia Evans - Controlling People. The Shut the Fuck up. Nobody here will miss you.

Re: What is the nice process state?

2007-11-03 Thread bofh
On 11/3/07, Martin Schrvder [EMAIL PROTECTED] wrote: 2007/11/3, Karel Kulhavy [EMAIL PROTECTED]: On Sat, Nov 03, 2007 at 04:21:13PM +0100, Martin Schrvder wrote: Go away, troll. Wrong answer. Cf. Patricia Evans - Controlling People. The Shut the Fuck up. Nobody here will miss you. I

Re: What is the nice process state?

2007-11-03 Thread Daniel Ouellet
bofh wrote: I just read man top. So, just to confirm, for those without ability to read the source, or understand it, the nice cpu processor state is the percentage of time spent on niced processes. Someone mentioned he was not sure if it was 1-20, or includes -1 to -20. From the way the man

What is the nice process state?

2007-10-27 Thread Karel Kulhavy
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 STATEWAIT TIMECPU COMMAND 29174 clock 79 10 33M 15M run -0:00 4.25% rt

Re: What is the nice process state?

2007-10-27 Thread Paul de Weerd
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 STATEWAIT TIMECPU COMMAND

Re: What is the nice process state?

2007-10-27 Thread Woodchuck
On Sat, 27 Oct 2007, 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 STATEWAIT TIMECPU COMMAND 29174 clock 79

Re: What is the nice process state?

2007-10-27 Thread Lars Noodén
Karel Kulhavy wrote: ... What is the nice state? I know what userspace, system, interrupt handler and idle task is, but nice? ... It's an adjustment to scheduling priority: http://www.openbsd.org/cgi-bin/man.cgi?query=nice You can use nice to give a process a higher or lower priority

Re: What is the nice process state?

2007-10-27 Thread Darrin Chandler
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 STATEWAIT TIMECPU COMMAND