[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #4340] Set ${NICE:0} value on "su command" clean environments
From: |
James Youngman |
Subject: |
[patch #4340] Set ${NICE:0} value on "su command" clean environments |
Date: |
Mon, 29 Aug 2005 10:09:13 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050730 Firefox/1.0.6 (Debian package 1.0.6-2) |
Follow-up Comment #1, patch #4340 (project findutils):
The nice value should be inherited from the parent process, I think, like
this:
$ nice ksh -c "sh -c \"sleep 1000\"" &
[1] 7091
$ jobs
[1]+ Running nice ksh -c "sh -c \"sleep 1000\"" &
$ ps -o pid,ppid,nice,args -t
PID PPID NI COMMAND
7026 5125 0 bash
7091 7026 10 ksh -c sh -c "sleep 1000"
7092 7091 10 sleep 1000
7093 7026 0 ps -o pid,ppid,nice,args -t
Could you give me a specific example demonstrating the problem that your
change is intended to address?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=4340>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/