MONITOR PROCESS/TOPCPU recording

Everything about buying, using, and managing OpenVMS systems not covered by other sections.
Post Reply

Topic author
garyrevell
Active Contributor
Posts: 38
Joined: Thu Nov 19, 2020 7:15 am
Reputation: 0
Location: Basingstoke, UK
Status: Offline
Contact:

MONITOR PROCESS/TOPCPU recording

Post by garyrevell » Fri Aug 06, 2021 5:40 am

Morning all,

We've got a production node that is experiencing some performance problems and I've used the MONITOR PROC/TOPCPU to see what processes are using the CPU etc. I then read in the help that I could record this using the /RECORD switch, however I'm not sure how to interrogate the data once I've finished monitoring.

It's created a file called MONITOR.DAT, about 2Mb, so how do I analyze/report on it? I tried the CONVERT command but that failed with:

XXXXXX (VMSxxx) $ MONITOR
MONITOR> CONVERT MON_CPU.DAT/OUTPUT=G.LOG
%MONITOR-E-ERRPARSE, error parsing command
%CLI-W-IVVERB, unrecognized command verb - check validity and spelling
\CONVERT\

MONITOR> help convert

CONVERT

The CONVERT command converts a pre-Version 5.0 MONITOR recording
file to the current format.

Format

CONVERT file-spec


Yet the CONVERT command is supposedly available....

Any comments/advice/caveats/pointers to documentation would be great! :)

Happy Friday.

Gary

User avatar

martinv
Master
Posts: 101
Joined: Fri Jun 14, 2019 11:05 pm
Reputation: 0
Location: Goslar, Germany
Status: Offline
Contact:

Re: MONITOR PROCESS/TOPCPU recording

Post by martinv » Fri Aug 06, 2021 5:50 am

You replay the recorded data using

$ MONITOR PROC/TOPCPU /INPUT=MONITOR.DAT

You can extend the time each screen is displayed by adding /VIEWING_TIME=seconds
Working hard for something we don't care about is called stress;
working hard for something we love is called passion.
(Simon Sinek)


Topic author
garyrevell
Active Contributor
Posts: 38
Joined: Thu Nov 19, 2020 7:15 am
Reputation: 0
Location: Basingstoke, UK
Status: Offline
Contact:

Re: MONITOR PROCESS/TOPCPU recording

Post by garyrevell » Fri Aug 06, 2021 6:27 am

Thanks Martin, that works just fine!


hein
Active Contributor
Posts: 41
Joined: Fri Dec 25, 2020 5:20 pm
Reputation: 0
Status: Offline

Re: MONITOR PROCESS/TOPCPU recording

Post by hein » Sat Aug 07, 2021 1:45 pm

Your immediate question is answered: Use /INPUT=. Good.

For the real problem please consider using T4 or similar - if you have not done so already.
It will more easily show which time windows to 'zoom into' and perhaps which days.
It may give you some correlations to get better insight as to the underlying issues.
For example, in which mode (user, exec, kernel) is the higher CPU load mostly used?
High lock rates at high CPU times?
You can also try to 'group' your processes by name: BATCH, SRV, FTP, TCPIP, XYZ,...

MONI PROC/TUPC is certainly a valuable tool, but you need to know when to look.

hth,
Hein


Topic author
garyrevell
Active Contributor
Posts: 38
Joined: Thu Nov 19, 2020 7:15 am
Reputation: 0
Location: Basingstoke, UK
Status: Offline
Contact:

Re: MONITOR PROCESS/TOPCPU recording

Post by garyrevell » Mon Aug 09, 2021 4:42 am

Thanks Hein for the advice.

I've had a look for T4 and found info about it here

https://vmssoftware.com/products/t4/

However, I'm not 100% sure how/where to get the kit for it, can you point me at it please? I found mention of an HP kit
ftp://ftp.hp.com/pub/openvms/t4/T4_T44_KIT.ZIP but not sure if that's OK to use?

Regards

Gary

User avatar

volkerhalle
Master
Posts: 196
Joined: Fri Aug 14, 2020 11:31 am
Reputation: 0
Status: Offline

Re: MONITOR PROCESS/TOPCPU recording

Post by volkerhalle » Mon Aug 09, 2021 7:14 am

Gary,

if you're running an HP OpenVMS version, this HP T4 V4.4 kit is the kit to use...

Volker.


Topic author
garyrevell
Active Contributor
Posts: 38
Joined: Thu Nov 19, 2020 7:15 am
Reputation: 0
Location: Basingstoke, UK
Status: Offline
Contact:

Re: MONITOR PROCESS/TOPCPU recording

Post by garyrevell » Mon Aug 09, 2021 3:17 pm

OK, thanks. We're running on VSI OpenVMS, is the HP kit OK to use or should I raise a support ticket I wonder?

User avatar

martinv
Master
Posts: 101
Joined: Fri Jun 14, 2019 11:05 pm
Reputation: 0
Location: Goslar, Germany
Status: Offline
Contact:

Re: MONITOR PROCESS/TOPCPU recording

Post by martinv » Tue Aug 10, 2021 12:12 am

At least with the OpenVMS V8.x versions, HP has supplied a T4 kit with OpenVMS in the SYS$ETC directory. Don't know whether VSI also do that, and can't check right now..
Working hard for something we don't care about is called stress;
working hard for something we love is called passion.
(Simon Sinek)


Topic author
garyrevell
Active Contributor
Posts: 38
Joined: Thu Nov 19, 2020 7:15 am
Reputation: 0
Location: Basingstoke, UK
Status: Offline
Contact:

Re: MONITOR PROCESS/TOPCPU recording

Post by garyrevell » Tue Aug 10, 2021 6:53 am

Raised a VSI support call and was given details of how to download T4 from VSI.

A colleague is now setting it up on one of our servers to try out.

Regards

Gary

User avatar

iamcamiel
VSI Expert
Visitor
Posts: 1
Joined: Sat Aug 07, 2021 3:29 am
Reputation: 0
Location: The Netherlands
Status: Offline
Contact:

Re: MONITOR PROCESS/TOPCPU recording

Post by iamcamiel » Tue Aug 10, 2021 8:18 am

To visualize the T4 data, there's a new tool available here: http://www.xdelta.co.uk/xdelta_t4viewer.html
Camiel Vanderhoeven
Kernel
VMS Software, Inc.

Post Reply