1753792 Members
6930 Online
108799 Solutions
New Discussion юеВ

CPU loop

 
SOLVED
Go to solution
Mulder_1
Frequent Advisor

CPU loop

How to find out in which address space is the CPU looping (system space, program space or between the 2) ?

thanks
2 REPLIES 2
Jan van den Ende
Honored Contributor
Solution

Re: CPU loop

Mulder,

do a
$ SHOW PROC/CONT/ID=
then type V for a dynamic show of current addresses.

Addresses below %X80000000 are process space, above is system space

HELP is your friend (here HELP SHOW PROC/CONT)

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Volker Halle
Honored Contributor

Re: CPU loop

Mulder,

welcome to the OpenVMS ITRC forum.

If you have a recent version of OpenVMS (V7.3-2 or higher), you can also use the PCS$SDA extension to capture PC samples in the running system.

$ ANAL/SYS
SDA> PCS ! contain brief help
SDA> PCS LOAD
PCS$DEBUG load status = 00000001
SDA> pcs start trace
Sampling started...
SDA> pcs stop trace
Sampling stopped...
SDA> pcs sho trace
...
SDA> PCS UNLOAD
SDA> EXIT

This can be used for looping processes as well, e.g. if you just capture PC sampels from a given process ID.

Volker.