home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!mips!swrinde!cs.utexas.edu!sun-barr!ames!dale.ksc.nasa.gov!orion.ksc.nasa.gov!chc
- From: chc@orion.ksc.nasa.gov (Charles Curley)
- Newsgroups: comp.sys.sgi
- Subject: Does renice work?
- Message-ID: <1992Jul27.172835.19148@dale.ksc.nasa.gov>
- Date: 27 Jul 92 17:28:35 GMT
- References: <1992Jul26.222526.9166@news.iastate.edu> <nq81smc@zuni.esd.sgi.com> <1992Jul27.172142.19072@dale.ksc.nasa.gov>
- Sender: news@dale.ksc.nasa.gov
- Distribution: na
- Organization: Boeing Aerospace Operations, Kennedy Space Center, Florida
- Lines: 36
-
- I have a 4D/35 running 4.0.1 and renice doesn't seem to work. Here is what
- happens on my machine:
-
- hydra $ uname -a
- IRIX hydra 4.0.1 11150233 IP12
- hydra $ id
- uid=1002(chc) gid=1000(boeing) groups=500(vicorp),501(cosmic),502(ist),2000(hums)
- hydra $ ps -uchc
- UID PID PPID C STIME TTY TIME COMMAND
- chc 9559 9558 0 0:00 <defunct>
- chc 9384 1 0 10:23:36 ? 0:02 xwsh -geometry 120x60+200+110
- chc 9646 9404 3 12:59:48 ttyq2 0:00 ps -f -uchc
- chc 9402 1 0 10:23:37 ? 0:00 xwsh -name winterm -name winterm -title Console -name startconsole -icontitle C
- chc 9379 1 0 10:23:36 ? 0:38 xlock -besaver -mode random +nolock
- chc 9558 9404 78 12:28:06 ttyq2 31:04 rayshade
- chc 9380 1 0 10:23:36 ? 0:00 xclock -geometry 130x130+1137+10
- chc 9355 9323 0 10:23:31 ? 0:09 mwm
- chc 9408 9402 0 10:23:38 ttyq3 0:01 -bash
- chc 9404 9384 1 10:23:37 ttyq2 0:02 -bash
- hydra $ renice +20 9558
- renice: 9558: setpriority: Invalid argument
- hydra $ renice +20 -p 9558
- renice: 9558: setpriority: Invalid argument
- hydra $ renice 20 -p 9558
- renice: 9558: setpriority: Invalid argument
- hydra $ renice -20 -p 9558
- renice: 9558: setpriority: Permission denied
-
- Of course, the last one is correct because I don't have permission to
- "mean" the process. Hopefully I haven't missed this question flying about.
-
- --
- Charles Curley, Research Analyst Internet: chc@orion.ksc.nasa.gov
- Boeing Aerospace Operations, Inc. Voice: (407) 867-9619
- MS FA-56, Bldg M7-409, Rm 170A Facsimile: (407) 867-4079
- Kennedy Space Center, Florida 32899
-