13.07.2015 Views

Caché Monitoring Guide - InterSystems Documentation

Caché Monitoring Guide - InterSystems Documentation

Caché Monitoring Guide - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Examining Routine Performance Using ^%SYS.MONLBLPress Enter twice after entering the last routine name to end the list.Once you provide the necessary information, ^%SYS.MONLBL allocates a special sectionof shared memory for counters for each line per routine, and notifies the selected processesthat monitoring is activated.Monitor started.Press RETURN to continue ...5.2 <strong>Monitoring</strong> OptionsYou now have additional menu options:• 2.) Stop Monitor — Stops all ^%SYS.MONLBL monitoring. Deallocates the countermemory and deletes collected data.• 3.) Pause Monitor — Pauses the collection and maintains any collected data. Thismay be useful when viewing collected data to ensure that counts are not changing as thereport is displayed. This option only appears if ^%SYS.MONLBL is running.• 4.) Resume Monitor — Resumes collection after a pause. This option only appears if^%SYS.MONLBL has been paused.• 5.) Clear Counters — Clears any collected data, but continues monitoring and collectingnew data.• 6.) Report Statistics — Displays a report of collected data. Presents a list of allmonitored routines, and asks you to select one or more routines. Press Enter to displayall monitored routines. After entering the last routine, press Enter again to end the list.You can enter a file name for the output, or enter nothing and press Enter to display thereport on your terminal. For each line of the selected routine(s), the report displays a linenumber, the counts for each metric, and the text of that line of code (if source code isavailable).54 <strong>Caché</strong> <strong>Monitoring</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!