Re: WORKING_SET.COM gives all COM states when run at high priority
_at_SendSpamHere.ORG
Date: 06/30/05
- Next message: Spud Demon: "Command line equivalent of "Compact This Folder"?"
- Previous message: FredK: "Re: Revival of Alpha?"
- In reply to: AEF: "Re: WORKING_SET.COM gives all COM states when run at high priority"
- Next in thread: AEF: "Re: WORKING_SET.COM gives all COM states when run at high priority"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Jun 2005 14:01:48 GMT
In article <1120098848.856048.170530@g44g2000cwa.googlegroups.com>, "AEF" <spamsink2001@yahoo.com> writes:
>
>
>Jeff Cameron wrote:
>> On 6/29/05 4:33 PM, in article
>> 1120087981.900047.325720@f14g2000cwb.googlegroups.com, "AEF"
>> <spamsink2001@yahoo.com> 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?
>> >
>> > (Tested on VMS v6.1 and v6.2, both on VAX systems.)
>> >
>> > (On some systems it may be called WORKSET.COM.)
>> >
>> > Thanks.
>> >
>> This is because you arte at a high priority and when ever you are executing
>> the function f$getjpi, you will always be at the CUR or current state, that
>> is the one process on the system that has the CPU above all others, so
>> anyone else that wants the CPU at that time will show up as COM or
>> computable. You are preempting all lower processes that want the CPU.
>>
>> Jeff
>
>Well, talk about the act of measuring affecting the measurement!
It's like the uncertainty principle.
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)COM
"Well my son, life is like a beanstalk, isn't it?"
- Next message: Spud Demon: "Command line equivalent of "Compact This Folder"?"
- Previous message: FredK: "Re: Revival of Alpha?"
- In reply to: AEF: "Re: WORKING_SET.COM gives all COM states when run at high priority"
- Next in thread: AEF: "Re: WORKING_SET.COM gives all COM states when run at high priority"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]