Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

What does ChgCnt: value in SHOW CPU /FULL mean?

SOLVED
Go to solution
Sebastian Bazley
Regular Advisor

What does ChgCnt: value in SHOW CPU /FULL mean?

In the following sample of SHOW CPU /FULL output:

CPU 0 State: RUN ...
ChgCnt: 0 State: Present, Primary

what does "ChgCnt:" mean?

I've looked in the DCL manual and searched, but could not find anything.
15 REPLIES
John Gillings
Honored Contributor

Re: What does ChgCnt: value in SHOW CPU /FULL mean?

Sebastian,

Good question. I think it's a Galaxy counter. Maybe counting state changes or migrations between partitions?

I've found some SHOW CPU displays where it's non-zero.
A crucible of informative mistakes
Petr Spisek
Regular Advisor

Re: What does ChgCnt: value in SHOW CPU /FULL mean?

Hi Sebastian,
this counter is changing, when CPU is stoped (started) or migated to another Galaxy partiton.

Petr
Petr Spisek
Regular Advisor

Re: What does ChgCnt: value in SHOW CPU /FULL mean?

completion:
- I found this counter only on AlphaServers GS*
- You can try this STOP/CPU and START/CPU to active set on mutiprocessing system.
P.
Sebastian Bazley
Regular Advisor

Re: What does ChgCnt: value in SHOW CPU /FULL mean?

ChgCnt appears in ES40 and ES45 output, but I've not yet seen it as anything other than 0.
Petr Spisek
Regular Advisor

Re: What does ChgCnt: value in SHOW CPU /FULL mean?

Try to stop and start non primary cpu. You will see.
Petr
Sebastian Bazley
Regular Advisor

Re: What does ChgCnt: value in SHOW CPU /FULL mean?

Just tried stopping/starting cpu 3 on an ES40, and the ChgCnt remains as 0.

I don't have access to a GS series system at present.
Petr Spisek
Regular Advisor

Re: What does ChgCnt: value in SHOW CPU /FULL mean?

... and what version of VMS do you have? I haven't possibility to try this on ES40, but for AS4100 (with the same os version V7.3-2) value ChgCnt doesn't exist. On GS* work properly - see attachment. Maybe it's the feature for EV6 and EV7, but why it doesn't work on ES40, I don't know. ES40 contains EV68, isn't it?
Petr
Sebastian Bazley
Regular Advisor

Re: What does ChgCnt: value in SHOW CPU /FULL mean?

The ES40 I used is running 7.3-2, and SHOW CPU/FULL gives:

Type.....: EV67, Pass 2.2.3 & Pass 2.2.5

for all the CPUs
Ian Miller.
Honored Contributor

Re: What does ChgCnt: value in SHOW CPU /FULL mean?

Are you using Galaxy?
____________________
Purely Personal Opinion
Sebastian Bazley
Regular Advisor

Re: What does ChgCnt: value in SHOW CPU /FULL mean?

Not using Galaxy on the ES40 (obviously).

I've seen non-zero ChgCnt fields in output from GS160s that are not running Galaxy.
Mike Reznak
Trusted Contributor

Re: What does ChgCnt: value in SHOW CPU /FULL mean?

Hi,

I've tried it and it really changes when you stop or start CPU. So I assume it is an counter for CPU state changes.

Mike
...and I think to myself, what a wonderful world ;o)
Petr Spisek
Regular Advisor

Re: What does ChgCnt: value in SHOW CPU /FULL mean?

Galaxy doesn't needed. MultiCPUs-systems with EV68 and EV7 work right. It's the fact. Decription of ChngCnt is very difficult to find ... next fact :-)
Sebastian Bazley
Regular Advisor

Re: What does ChgCnt: value in SHOW CPU /FULL mean?

Maybe I need to file a documentation bug ...
Volker Halle
Honored Contributor
Solution

Re: What does ChgCnt: value in SHOW CPU /FULL mean?

Sebastian,

the Change Counter (ChgCnt) is part of the CFG_NODE structure (field cfg$w_change_counter, see SYS$LIBRARY:LIB.REQ). It is used to synchronize state changes for machines, which support a configuration tree (see SDA> SHOW GCT).

After a successful configuration tree node state change (routine cfg$set_node_flags), this counter is incremented.

Volker.
Sebastian Bazley
Regular Advisor

Re: What does ChgCnt: value in SHOW CPU /FULL mean?

See last comment above