| Qfarm and QProcess the basics |
|
|
| Written by Hans Straat, Wednesday, 13 September 2006 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
In Citrix metaframe Presentation server you get a lot of goodies to use with the command prompt. Two of these goodies are explained in this tiny howto. The basics of Qfarm and Qprocess.
QPROCESS options
These options give you a load of information which you can pipe to a txt file which is not possible with the task manager of CMC.
If you use for example qprocess * > c:\temp\processes.txt then all information will be written to the file processes.txt. A simular output like this will form then. USERNAME SESSIONNAME ID PID IMAGE If you however want to see what one user is doing and log it you can then see where the user is logged on to and use qprocess username > c:\username.txt to capture the outcome. see example We did a output request on qprocess dummy and qprocess /id:21 which is the id that user dummy works on. USERNAME SESSIONNAME ID PID IMAGE Now you see you also get the pid numbers the system accounts works on and the dummy account. You can do lot's more with qprocess by simply trying it out. QFARM options With Qfarm you get another range of command prompt goodies that are handy. You can easely query from a command prompt if a server is offline or online etc. Qfarm parameters
Let's take a look at the addr (address) If you query it like Qfarm /addr servername you get simular output M:\>qfarm /addr servername Server Transport Network Address You can also use Qfarm /load which shows you the current load on a server. It's a static point however so gives you only a snapshot of the load of that current time on the farm. If you want to see what disconected sessions you have you use Qfarm /disc which shows you the disconnected sessions. In following example you see all disconnected sessions without having to look for them in the CMC :) M:\>qfarm /disc Client Name Application Name Transport with Qfarm /online you can easely see what server(s) are online and with qfarm /offline the oposite. M:\>qfarm /online Server Name Zone Name You see a D behind the first server which means it's the Data Collector. Also handy if you have multiple zones in your citrix environment you see right away which server is the data collector. Well for all other options use them as you see fit. There are more command prompt options which will be explained in another howto sometime.
Powered by JoomlaCommentCopyright (C) 2006 Frantisek Hliva. All rights reserved.Homepage: http://cavo.co.nr/ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| < Prev | Next > |
|---|

