#!/usr/bin/php Loway Research - home of Queuemetrics (c) 2008 Counts how many unique agents are running in a specified period. Use the syntax below: CountAgents.php [-h host] [-p port] [-w application] [-d days] -u username -x password queuename [yyyymmdd] [YYYYMMDD] Where: host: hostname or IP address (default: localhost) port: port where the application runs (default: 8080) application: the web application name (default: queuemetrics) days: the number of last days where the query will be run username: the username to be used to log in password: the password to be used to log in queuename: the pivot queue name to look at yyyymmdd: is the start date of period where the query will be run YYYYMMDD: is the end date of period where the query will be run The last two parameters are optional only if the -d option is specified