Gathering Global Activity Statistics Using ^GLOSTAT%SYS>do ^GLOSTATShould detailed statistics be displayed for each block type? No =>yStatisticsTotal------------------------------- -------------Global references (all): 6,444,341Global update references: 1,322,017Routine calls: 896,130Routine buffer loads and saves: 9,008Cache Efficiency: 176Journal Entries: 211,164Journal Block Writes: 363Logical Block Requests Data: 1,643,739Dir: 13,147 Upper ptr: 138,837BData: 164,102 Bottom ptr: 1,034,472Map: 3,043 Other: 1 2,997,341Physical Block Reads Data: 33,846Dir: 42 Upper ptr: 31BData: 452 Bottom ptr: 290Map: 12 Other: 1 34,674Physical Block Writes 1,918Blocks Queued to be Written Data: 1,952Dir: 11 Upper ptr: 0BData: 317 Bottom ptr: 65Map: 22 Other: 6 2,373Continue (c), zero statistics (z), timed stats (# sec > 0), quit?3.3.3 Example CThe following example shows ^GLOSTAT statistics per second for a 30–second timedinterval. The user has not requested detailed statistics for each block type. The <strong>Caché</strong> instanceis either a stand-alone configuration or a server:Continue (c), zero statistics (z), timed stats (# sec > 0), quit? 30Counts per Second for 30 Seconds...Statistics (per second)Total------------------------------- -------------Global references (all): 1,369.8Global update references: 299.6Routine calls: 1,057.6Routine buffer loads and saves: 12.0Logical block requests: 696.9Block reads: 0.7Block writes: 3.2Cache Efficiency: 354.3Journal Entries: 277.5Journal Block Writes: 0.5Continue (c), zero statistics (z), timed stats (# sec > 0), quit?3.3.4 Example DThe following example shows ^GLOSTAT results from running the routine multiple times.34 <strong>Caché</strong> <strong>Monitoring</strong> <strong>Guide</strong>
Examples of ^GLOSTAT OutputAfter the initial output, entering z initializes the counters and then q quits the routine. Afterwaiting the desired amount of time, the routine is run again and displays statistics reflectingoperations since z was entered.Entering z again initializes the statistics a second time, and entering c to continue immediatelydisplays the initialized statistics. Entering c once more shows the statistics once again accumulating.<strong>Caché</strong> <strong>Monitoring</strong> <strong>Guide</strong> 35