25.01.2015 Views

Caché Monitoring Guide - InterSystems Documentation

Caché Monitoring Guide - InterSystems Documentation

Caché Monitoring Guide - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Customizing the ^pButtons Utility<br />

In the ExecuteCode textbox, enter the following code:<br />

set ^zmgstat(+$h,3)=$$run^pButtons("2mins")<br />

• Output file — browse to the location of the output directory.<br />

2. Click Next. Then enter the following information in the specified fields:<br />

• How often ... — choose Daily from the drop-down list.<br />

• Start Date — Enter the start date in the text box.<br />

3. Click Finish.<br />

Click Run once at this time: and enter 12:00:00 in the text box.<br />

Then create a task to run Collect^pButtons:<br />

1. From the [System] > [Task Manager] page of the System Management Portal, choose options The Schedule New Task<br />

option to start the Task Scheduler Wizard. Then enter the following information in the specified fields:<br />

• Task name — enter 24HourCollection.<br />

• Description — enter Generate 24-hour Report.<br />

• Namespace to run task in — choose %SYS from the drop-down list.<br />

• Task type — choose RunLegacyTask from the drop-down list.<br />

In the ExecuteCode textbox, enter the following code:<br />

set ^zmgstat(+$h,4)=$$Collect^pButtons($get(^zmgstat(+$h,3),1))<br />

• Output file — browse to the location of the output directory.<br />

2. Click Next. Then enter the following information in the specified fields:<br />

• How often ... — choose Daily from the drop-down list.<br />

• Start Date — Enter the start date in the text box.<br />

3. Click Finish.<br />

Click Run once at this time: and enter 12:30:00 in the text box.<br />

8.4 Customizing the ^pButtons Utility<br />

This section describes the tasks you can accomplish with the API:<br />

• Change Output Directory<br />

• Get Version Information<br />

• Manipulate Profiles<br />

<strong>Caché</strong> <strong>Monitoring</strong> <strong>Guide</strong> 71

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!