################################################################################
# Windows System Activity Report (SAR) Setup.
#
# This file defines which counters to use, and their order.
#
# WARNING: DO NOT ALTER THE CONTENTS OF THIS FILE!
#          DOING SO MAY CAUSE FATAL ERRORS IN THE SAR LOGGER.


################################################################################
# Information is obtained for objects, through counters these objects have.
#
# Available objects:
# ==================
#
# Primary objects:
# -----------------------------
# Processor                  10
# Process(Idle)               1
# System                     20
# Memory                     27
# PhysicalDisk               21
# LogicalDisk                20
# -----------------------------
#                            99
#
# Secondary objects:
# -----------------------------
# Cache                      27
# Server                     20
# Browser                    20
# IP                         17
# ICMP                       27
# TCP                         9
# UDP                         5
# -----------------------------
#                            98
#
# Ignored objects:   (Not measured.)
# -----------------------------
# AppleTalk                  26
# Telephony                   9
# Process                    27
# Thread                     12
# Image                       4
# NetBEUI                    38
# -----------------------------
#                           116



################################################################################
# Process Idle               1 counter
#
# Measuring idle processor time.
#
# To block a counter, simply put a '#' at the beginning of it's line.
# To block the entire object, put a '#' in front of it.
#
# Should NOT be used on hosts having more than one CPU/Core as this returns the sum
# of %IDLE time for all CPUS present and hence can be greater than >100%!
# Process(Idle)
# {
# 	% Processor Time
# }


################################################################################
# Processor                  10 counters  6
#
# The Processor performance object consists of counters that measure aspects of
# processor activity. The processor is the part of the computer that performs
# arithmetic and logical computations, initiates operations on peripherals, and
# runs the threads of processes. A computer can have multiple processors. The
# processor object represents each processor as an instance of the object.
#
# To block a counter, simply put a '#' at the beginning of it's line.
# To block the entire object, put a '#' in front of it.
Processor(_Total)
{
	% Idle Time
	% Processor Time
	% DPC Time
	% Interrupt Time
	% Privileged Time
	% User Time
	Interrupts/sec
}


################################################################################
# System                     20 counters  7
#
# The System performance object consists of counters that apply to more than one
# component of the computer. Percentage counters by default do not show values
# above 100 percent. See "Overview of Performance Monitoring" in the Windows
# 2000 Server Resource Kit Server Operations Guide for instructions about
# changing this default in the registry.
#
# To block a counter, simply put a '#' at the beginning of it's line.
# To block the entire object, put a '#' in front of it.
System(_Total)
{
#	%Registry Quota In Use
	Exception Dispatches/sec
	Context Switches/sec
	File Read Operations/sec
	File Write Operations/sec
	Processor Queue Length
# 	This counter does not exist anymore, so we have to use Processor(_Total)\Interrupts/sec	
#	Total Interrupts/sec
}


# Use this counter to compensate as System(_Total)\Total Interrupts/sec 
# has been removed in recent versions of windows
Processor(_Total)
{
	Interrupts/sec
}

################################################################################
# Memory                     27 counters  7
#
# The Memory performance object consists of counters that describe the behavior
# of physical and virtual memory on the computer. Physical memory is the amount
# of random-access memory (RAM) on the computer. Virtual memory consists of
# space in physical memory and on disk. Many of the memory counters monitor
# paging, which is the movement of pages of code and data between disk and
# physical memory. Excessive paging, a symptom of a memory shortage, can cause
# delays which interfere with all system processes.
#
# To block a counter, simply put a '#' at the beginning of it's line.
# To block the entire object, put a '#' in front of it.
Memory(_Total)
{
	Available Bytes
	Cache Bytes
	Cache Faults/sec
	Commit Limit
	Committed Bytes
	Page Faults/sec
	Pages/sec
}


################################################################################
# PhysicalDisk               21 counters  9
#
# The PhysicalDisk performance object consists of counters that monitor hard or
# fixed disk drives on a computer. Disks are used to store file, program, and
# paging data, are read to retrieve these items, and are written to record
# changes to them. The values of physical disk counters are sums of the values
# of the logical disks (or partitions) into which they are divided.
#
# To block a counter, simply put a '#' at the beginning of it's line.
# To block the entire object, put a '#' in front of it.
PhysicalDisk(_Total)
{
	Disk Reads/sec
	Disk Writes/sec
}


################################################################################
# LogicalDisk                20 counters  11
#
# The Logical Disk performance object consists of counters that monitor logical
# partitions of hard or fixed disk drives. System Monitor identifies logical
# disks by their drive letter, such as "C." To monitor Logical Disk object
# counters, you must activate them by typing the following at the command
# prompt:
#
#      diskperf -yv
#
# To block a counter, simply put a '#' at the beginning of it's line.
# To block the entire object, put a '#' in front of it.
LogicalDisk(_Total)
{
	Disk Reads/sec
	Disk Writes/sec
}


################################################################################
# Cache                      27 counters  9
#
# The Cache performance object consists of counters that monitor the file system
# cache, an area of physical memory that stores recently used data as long as
# possible to permit access to the data without having to read from the disk.
# Because applications typically use the cache, the cache is monitored as an
# indicator of application input/output (I/O) operations. When memory is
# plentiful, the cache can grow, but when memory is scarce, the cache can become
# too small to be effective.
#
# To block a counter, simply put a '#' at the beginning of it's line.
# To block the entire object, put a '#' in front of it.
Cache(_Total)
{
	Copy Read Hits %
	Copy Reads/sec
	Data Flush Pages/sec
	Data Flushes/sec
	Data Maps/sec
	Fast Reads/sec
	Lazy Write Flushes/sec
	Lazy Write Pages/sec
	Read Aheads/sec
}
