Need to create a batch file to save a list periodically.
Posted on 2009-02-13
Hi folks, 500 pointer here :)
Need to create a batch file that creates a Log file for a citrix server farm. I see no way of doing it within Citrix, but am willing to be told whereabouts it is :)
I am trying to log the Load Management Score of a server farm as we are trying to pinpoint what effect is bringing down the servers, but after the event is too late.
Anyway, I can run the following command "QFARM /ZONELOAD" which produces the list, if I add the "> test.txt" pipe it sends that to a text file. I want this to occur every minute or so to build up a picture of how best to set up the server load management on the farm.
Now I would like to either export this to a single file, I can then drag into a spreadsheet (ideal!) OR export to multiple files (one each time) using a filename structure of something like "xxxxLOAD.TXT" where xxxx is a sequential number.
I am imagining this would need to be run as a scheduled task on one of the servers, as I cannot be logged in all the time.
We are using Presentation Manager 4.0, on Windows 2003 Standard servers.