| | | | | | | |

  Terminal Services
 

Popular Search Engines

Google.com

Yahoo.com

MSN.com

Certificate Authorities

VeriSign

GeoTrust

Thawte

 

QUERY

Query Farm


Syntax


query farm [server [/addr | /app | /app appname | /load]]
query farm [/tcp ] [ /ipx ] [ /netbios ] [ /continue ]
query farm [ /app | /app appname | /disc | /load | /process]
query farm [/online | /online zonename]
query farm [/offline | /offline zonename]
query farm [/zone | /zone zonename]
query farm [/?]

Parameters


appname

The name of a published application.


server
The name of a server within the farm.


zonename
The name of a zone within the farm.


Options

farm

Displays information about servers within an IMA-based server farm.You can use qfarm as a shortened form of query farm.


server /addr
Displays address data for the specified server.


/app
Displays application names and server load information for all servers
within the farm or for a specific server.


/app appname
Displays information for the specified application and server load
information for all servers within the farm or for a specific server.


/continue
Do not pause after each page of output.


/disc
Displays disconnected session data for the farm.


/ipx
Displays IPX data for the farm.


/load
Displays server load information for all servers within the farm or for a specific server.


/netbios
Displays NetBIOS data for the farm.


/process
Displays active processes for the farm.


/tcp
Displays TCP/IP data for the farm.


/online
Displays servers online within the farm and all zones. The data collectors are
represented by the notation “D.”


/online zonename
Displays servers online within a specified zone. The data collectors are
represented by the notation “D.”


/offline
Displays servers offline within the farm and all zones. The data collectors are
represented by the notation “D.”


/offline zonename


Displays servers offline within a specified zone. The data collectors are represented by the notation “D.”


/zone
Displays all data collectors in all zones.


/zone zonename
Displays the data collector within a specified zone.


/?
Displays the syntax for the utility and information about the utility’s options.
Remarks


Query Process


Syntax


query process [ * | processid | username | sessionname | /id:nn | programname ] [ /server:servername ] [ /system ]
query process [/?]


Parameters


*
Displays all visible processes.

processid
The three- or four-digit ID number of a process running within the farm.


programname
The name of a program within a farm.


servername
The name of a server within the farm.


sessionname
The name of a session, such as ica-tcp#7.


username
The name of a user connected to the farm.


Options


process
Displays information about processes running on the current server.


process *
Displays all visible processes on the current server.


process processid
Displays processes for the specified processid.


process username
Displays processes belonging to the specified user.


process sessionname
Displays processes running under the specified session name.


process /id:nn


Displays information about processes running on the current server by the specified ID number.


process programname
Displays process information associated with the specified program name.


process /server:servername
Displays information about processes running on the specified server. If no server is specified, the information returned is for the current server.


process /system
Displays information about system processes running on the current server.


/?
Displays the syntax for the utility and information about the utility’s options.


Query Server


Syntax

query server [ server [/ping [/count:n] [/size:n] | /stats | /reset | /load | /addr]]
query server [/tcp] [/ipx] [/netbios] [/tcpserver:x] [/ipxserver:x]
query server [/netbiosserver:x]
query server [/license | /app | /gateway | /serial | /disc | /serverfarm | /video]
query server [/continue] [/ignore] [/?]


n
The number of times to ping a server (the default is five times) or the size of
ping buffers (the default is 256 bytes).


server
The name of a server within the farm.


x
The default TCP, IPX, or NetBIOS server address.


Options


server server
Displays transport information for the specified server.


/addr
Displays address information for the specified server.


/app
Displays application names and server load for the specified server.


/continue
Do not pause after each page of output.


/count:n
Number of times to ping the specified server.


/disc
Displays disconnected session data on the current server.


/gateway
Displays configured gateway addresses for the current server.


/ignore
Ignore warning message about interoperability mode.


/ipx

Displays IPX data for the current server.


/ipxserver:x
Defines the IPX default server address.


/license
Displays user licenses for the current server.


/load
Displays local data on the specified server.


/netbios
Displays NetBIOS data for the current server.



/netbiosserver:x
Defines the NetBIOS default server address.


/ping
Pings selected server. The default is five times.


/reset
Resets the browser statistics on the specified server.


/serial
Displays license serial numbers for the current server.


/serverfarm
Displays server farm names and server load.


/size:n
Size of ping buffers. The default is 256 bytes.


/stats
Displays the browser statistics on the specified server.


/tcp
Displays the TCP/IP data for the current server.


/tcpserver:x
Defines the TCP/IP default server address.


/?
Displays the syntax for the utility and information about the utility’s options.


Query Session


Syntax


query session [sessionname | username | sessionid]
query session [/server:servername] [/mode] [/flow] [/connect] [/counter]
query session [/?]


Parameters


servername
The name of a server within the farm.


sessionname
The name of a session, such as “ica-tcp#7”.


sessionid
The two-digit ID number of a session.


username
The name of a user connected to the farm.


Options


session sessionname
Identifies the specified session.


session username
Identifies the session associated with the user name.


session sessionid
Identifies the session associated with the session ID number.


session /server:servername
Identifies the sessions on the specified server.


session /mode
Displays the current line settings.


session /flow
Displays the current flow control settings.


session /connect
Displays the current connection settings.


session /counter
Displays the current Terminal Services counter information.

/?
Displays the syntax for the utility and information about the utility’s options.


Query Termserver


Syntax


query termserver [servername] [/domain:domain] [/address] [/continue]
query termserver [/?]


Parameters


servername
The name of a server within the farm.


domain
The name of a domain to query.


Options


termserver servername
Identifies a Terminal Server.


/address
Displays network and node addresses.


/continue
Do not pause after each page of output.


/domain:domain
Displays information for the specified domain. Defaults to the current
domain if no domain is specified.


/?
Displays the syntax for the utility and information about the utility’s options.


Query User


Syntax


query user [ username | sessionname | sessionid ] [ /server:servername ]
query user [/?]


Parameters


servername
The name of a server within the farm.


sessionname
The name of a session, such as “ica-tcp#7”.


sessionid
The ID number of a session.


username
The name of a user connected to the farm.


Options


user username
Displays connection information for the specified user name.


user sessionname
Displays connection information for the specified session name.


user sessionid
Displays connection information for the specified session ID.


user /server:servername
Defines the server to be queried. The current server is queried by default.


/?
Displays the syntax for the utility and information about the utility’s options.





 



Quick Links

schiara@thin-world.com