home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!math.ksu.edu!deadend
- From: tar@math.ksu.edu (Tim Ramsey)
- Newsgroups: comp.unix.admin
- Subject: Re: Can the priority of a running process be changed?
- Date: 7 Nov 1992 02:32:10 -0600
- Organization: Dept. of Mathematics, Kansas State University
- Lines: 23
- Message-ID: <1dfuuaINN7m7@hilbert.math.ksu.edu>
- References: <1992Nov6.182510@helix.nih.gov> <1992Nov7.061822.23947@maccs.dcss.mcmaster.ca>
- NNTP-Posting-Host: hilbert.math.ksu.edu
-
- pkerr@maccs.dcss.mcmaster.ca (Paul Kerr) writes:
-
- >rvenable@helix.nih.gov (Richard M. Venable) writes:
- >>Is there any way to change the priority of a process AFTER it has
- >>started running? We often have naive users who run compute intensive
- >>tasks either in foreground or simply backgrounded with '&', and would
- >>like to change the priority without forcing the user to restart his
- >>calculation using 'nice'.
-
-
- >From the man page for renice(8)
- >NAME
- > renice - alter nice value of running processes
-
- Assuming, of course, that his OS has renice(8). I wrote a renice
- command for SysV 2.1.2 (which doesn't have kernel support for altering
- the nice value of a running process). It simply opens /dev/kmem and
- patches the appropriate proc table entry.
-
- --
- Tim Ramsey, 913.532.6750
- Department of Mathematics
- Kansas State University
-