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

OpenVMS System Management

SOLVED
Go to solution
Christian Villabroza
Occasional Visitor

OpenVMS System Management

How can I redirect the ouput of the "mon cluster" to a file?
8 REPLIES
Jan van den Ende
Honored Contributor
Solution

Re: OpenVMS System Management

Christian,

Welcome to VMS!!

$ Moni /clus/record=

Many more options are available!

$ Help monitor monitor

will tell you (almost) anything you'll want.

... IF you are monitoring to a file, then you might look to /beginning, /ending, and /interval as well!!!


Success

Jan
Don't rust yours pelled jacker to fine doll missed aches.
Christian Villabroza
Occasional Visitor

Re: OpenVMS System Management

Thanks Jan! I'm ney to OpenVMS so this will help me a lot.
Bojan Nemec
Honored Contributor

Re: OpenVMS System Management

Hi,

Jans solution is probably what you need.
If you need to have the results in a text file (for presentation etc...) you can do:

$ define/user sys$output monitor.txt
$ monitor cluster /ending=END_TIME

Bojan
Christian Villabroza
Occasional Visitor

Re: OpenVMS System Management

Bojan,

do i have to execute your commands before the ones that Jan mentioned?
Bojan Nemec
Honored Contributor

Re: OpenVMS System Management

Hi,

No.

My and Jans commands are two different things. You can use one or other independent or you can cobine both.

Jans commands saves the statistics in a binary file. You can then run the monitor command with the /input qualifier an the monitor will show you the statistics saved in the file.

My command is only to save the contents, which are displayed on the screen, in a text file. This is only useful if you want to print or present in any other way the statistics.

But I think that the easiest way is to try this commands and take a look to the VMS help by typing HEL MONITOR.

Bojan
Karl Rohwedder
Honored Contributor

Re: OpenVMS System Management

You may want to check SYS$EXAMPLES:MONITOR.COM
as an example to set up an automatic monitoring.
Ian Miller.
Honored Contributor

Re: OpenVMS System Management

MONITOR CLUSTER/RECORD=file
writes the binary data to a file which you can play back using MONITOR/INPUT=file.

MONITOR CLUSTER/DISPLAY=file
would write ascii text screenshots to the file - one per display interval. Probably not what you want.

You may also be interested in other performance data collection tools

ECP and T4 for historical data collection
http://h71000.www7.hp.com/openvms/products/ecp/index.html
http://h71000.www7.hp.com/openvms/products/t4/index.html
and Availability Manager for real time investigations.

http://h71000.www7.hp.com/openvms/products/availman/index.html
____________________
Purely Personal Opinion
Antoniov.
Honored Contributor

Re: OpenVMS System Management

Hi Christian,
Bojan solution is output redirector like > in unix or old dos.

Antonio Vigliotti
Antonio Maria Vigliotti