Re: WORKING_SET.COM gives all COM states when run at high priority
From: AEF (spamsink2001_at_yahoo.com)
Date: 06/30/05
- Next message: David J Dachtera: "Re: DCL enhancement more verb/FTP"
- Previous message: AEF: "Re: WORKING_SET.COM gives all COM states when run at high priority"
- In reply to: Jeff Chimene: "Re: WORKING_SET.COM gives all COM states when run at high priority"
- Next in thread: Jeff Cameron: "Re: WORKING_SET.COM gives all COM states when run at high priority"
- Reply: Jeff Cameron: "Re: WORKING_SET.COM gives all COM states when run at high priority"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Jun 2005 19:35:40 -0700
Jeff Chimene wrote:
> AEF wrote:
> > Hello,
> >
> > WORKING_SET.COM, which is in SYS$EXAMPLES, lists all processes and
> > various working set statistics for each. I recently found out that when
> > you run it at high priority, most or all of the states show up as COM.
> > The state is determined by the function
> >
> > f$getjpi("","STATE")
> >
> > The higher the priority, the higher the percentage of states which are
> > reported as COM.
> >
> > Why should the result of this function be dependent on the priority at
> > which it is run?
>
> Because your process running working_set.com is using all the CPU? All
> other processes are forced to non-CUR states, e.g. COM
>
> For extra credit, code up a real-time CPU-burner that also
> allocates/frees a few mebibytes of VM. Fire off a few of those and watch
> with working_set.com
>
> Cheers,
> jec
Thanks for your rapid response! But some of my processes are idle
terminal sessions. Why are they waiting for the CPU?
- Next message: David J Dachtera: "Re: DCL enhancement more verb/FTP"
- Previous message: AEF: "Re: WORKING_SET.COM gives all COM states when run at high priority"
- In reply to: Jeff Chimene: "Re: WORKING_SET.COM gives all COM states when run at high priority"
- Next in thread: Jeff Cameron: "Re: WORKING_SET.COM gives all COM states when run at high priority"
- Reply: Jeff Cameron: "Re: WORKING_SET.COM gives all COM states when run at high priority"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|