TSLoadStats is a command-line tool to gather performance information from selected or all Citrix and Terminal Servers within a Domain. This utility was written to get a quick snapshot on the performance of a server or servers with specific reference to Total Number of Sessions on a server, Total Percent of CPU usage, Total Memory Available to the server, and percentage of Total PageFile in use. On execution of this command, the server statistics are extracted immediately (1 sec. snapshot) and then listed on the current console. This utility can provide information on one or many servers with one command giving an administrator the ability to get an instant view of the load on the selected servers. TSLoadStats will only function when executed by a user with ADMIN rights in a Domain. This utility is FREEWARE and was written by Warren Simondson of Ctrl-Alt-Del IT Consultancy, Australia. www.ctrl-alt-del.com.au Thankyou to the WINDOWS SDK available from http://msdn.microsoft.com/downloads Usage: TSLoadStats [servername | *] [/n:] [/w:] [/?] servernames [Optional] Specifies the Server to extract performance statistics. Multiple servers can be listed with a space separating each name. * [Optional] Extracts performance statistics on all servers within the Domain. /n: [Optional] Number of iterations to run. Extracts performance statistics on each iteration. /w: [Optional] Wait time between iterations in seconds. /? This help information. TSLoadStats with no parameters gathers performance statistics of the current. machine. E.G. TSLoadStats * This command will display performance statistics on all TS or Citrix Servers in the current Domain. E.G. TSLoadStats My* This command will display performance statistics on all TS or Citrix Servers in the current Domain beginning with My. E.G. TSLoadStats MyServer2 MyServer3 This command will display performance statistics for MyServer2 and MyServer3. E.G. TSLoadStats MyServer1 This command will display performance statistics for MyServer1. E.G. TSLoadStats MyServer /n:6 This command will display performance statistics for MyServer over 6 iterations. E.G. TSLoadStats MyServer /n:6 /w:4 This command will display performance statistics for MyServer over 6 iterations, with a 4 second timeout between each iteration. NB. TSLoadStats captures the statistics for each server in 1 second, therefore items such as percent of CPU usage are relevant for that 1 second period. TSLoadStats should be run several times over a 10 second period if the Administrator requires more distinctive statistics. In a multi-processor environment, the Total percentage of CPU usage displayed by this utility is the average of all combined CPU usage totals. This utility has been tested on all of the following platforms: Windows 2003 Server SP1 Windows 2003 Server SP1 w/ Citrix PS 4.0/4.5 Windows 2003 Server SP1 (Terminal Server Application Mode) Windows 2000 Server SP4 Windows 2000 Server SP4 w/ Citrix MF XP Windows 2000 Server SP4 (Terminal Server Application Mode) Windows 2000 Server SP4 w/ Citrix MF 1.8 Windows XP Professional (domain member) The freeware version is offered AS IS. Ctrl-Alt-Del IT Consultancy has made every effort possible to ensure that TSLoadStats is free of any bugs or errors, however in no way is TSLoadStats to be considered error or bug free. You assume all responsibility for any damages or lost data that may result from any errors or bugs in TSLoadStats. IN NO EVENT WILL Ctrl-Alt-Del IT Consultancy BE LIABLE TO YOU FOR ANY GENERAL, SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR OTHER DAMAGES ARISING OUT OF THIS PRODUCT.