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: Doc.: "Re: Intel neuters Montvale, Itanic screams in alarm"
- Previous message: JF Mezei: "Re: Intel neuters Montvale, Itanic screams in alarm"
- In reply to: dooleys_at_snowy.net.au: "Re: WORKING_SET.COM gives all COM states when run at high priority"
- Next in thread: Bob Koehler: "Re: WORKING_SET.COM gives all COM states when run at high priority"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Jun 2005 10:19:19 -0700
dooleys@snowy.net.au 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")
> >
[...]
> This is not my experience - I see processes in LEF and HIB states
Did you bump up your priority to 15? My question was specific to that.
> I suspect the command f$getjpi("","STATE")
> should read f$getjpi('pid',"state")
> as you loop through pids sing pid = f$pid(context)
> f$getjpi("","STATE") returns the state of the current process
>
> >From help lex f$getjpi
>
> pid
>
> Specifies the process identification (PID) number of the process
> for which information is being reported. Specify the pid argument
> as a character string expression. You can omit the leading zeros.
>
> If you specify a null string (""), the current PID number is
> used.
Yes, I know. I just quickly typed the relevant function. Yes, it needs
a proper argument.
I mentioned WORKSET.COM and the relevant function. I thought that would
be enough. To really be specific and accurate, I would have had to post
the entire procedure! Well, releavant portions, but I didn't think it
was worth the trouble.
[...]
- Next message: Doc.: "Re: Intel neuters Montvale, Itanic screams in alarm"
- Previous message: JF Mezei: "Re: Intel neuters Montvale, Itanic screams in alarm"
- In reply to: dooleys_at_snowy.net.au: "Re: WORKING_SET.COM gives all COM states when run at high priority"
- Next in thread: Bob Koehler: "Re: WORKING_SET.COM gives all COM states when run at high priority"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]