home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!news.claremont.edu!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
- From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
- Newsgroups: comp.os.vms
- Subject: Re: Determining if process is runaway ?
- Date: 9 Jan 1993 13:26:20 GMT
- Organization: HST Wide Field/Planetary Camera
- Lines: 25
- Distribution: world
- Message-ID: <1imjpsINNg7a@gap.caltech.edu>
- References: <1993Jan5.195143.7160@samba.oit.unc.edu>
- Reply-To: carl@SOL1.GPS.CALTECH.EDU
- NNTP-Posting-Host: sol1.gps.caltech.edu
-
- In article <1993Jan5.195143.7160@samba.oit.unc.edu>, Walt.Armour@launchpad.unc.edu (Walt Armour) writes:
- > I am currently working on a sentry-type program to monitor processes
- >on our systems. It monitors processes for idle logout and for runaway
- >CPU time. The problem I have is determining whether a process is runaway
- >or not. The method I was going to use would compare the ratio of CPU time
- >to connect time. This works but is not the best. If a user consumes enough
- >CPU to prevent becoming idle it could stay logged in for several days then
- >begin running away. In that case my sentry could take several days to
- >classify a process as runaway.
- >
- > Are there better (and quicker) methods that determine if a process is runaway
- >withing 5-10 minutes?
-
- No. You're asking essentially, "Is there a solution for the `stopping
- problem'?" There is no such solution. How could you possibly hope to tell the
- difference between a "runaway process" and a CPU-intensive process that is
- doing what it's supposed to do?
- --------------------------------------------------------------------------------
- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
-
- Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My
- understanding of astronomy is purely at the amateur level (or below). So
- unless what I'm saying is directly related to VAX/VMS, don't hold me or my
- organization responsible for it. If it IS related to VAX/VMS, you can try to
- hold me responsible for it, but my organization had nothing to do with it.
-