Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!nisca.ircc.ohio-state.edu!hpuxa.ircc.ohio-state.edu!bobd From: bobd@hpuxa.ircc.ohio-state.edu (Bob Debula) Newsgroups: comp.sys.hp Subject: Any "renice" type function for HP-UX Keywords: Priority nice renice Message-ID: <1001@nisca.ircc.ohio-state.edu> Date: 11 Apr 90 17:27:00 GMT References: <4157@uceng.UC.EDU> <1768@sparko.gwu.edu> Sender: news@nisca.ircc.ohio-state.edu Reply-To: bobd@hpuxa.ircc.ohio-state.edu Organization: The Ohio State University (IRCC) Lines: 16 On our Suns there is a command "renice" which may be used by the superuser to change the priority of any process already in execution. Is there an equivalent function for HP-UX? If not, how does one keep a single user/process from snarfing up most of the CPU? I ask this because we had a few modeling processes which were eating enough CPU to make interactive response for our e-mail users and news readers noticeably slower (we'd like to create some sort of script which would run every 5-10 minutes, scan for background tasks (those consuming inordinate CPU anyways) and renice them to be, well, err... nicer). Any ideas on how this could be done (has anyone already done a similar thing for HP-UX)? ========================================================================== Bob DeBula | Internet: bobd@hpuxa.ircc.ohio-state.edu The Ohio State University | Disclaimer: These are my views, not the U's Davros sez: When my Daleks compute they use X-TER-MI-NALS!