Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 922
  • Last Modified:

Query number of users logged onto Citrix server

I would like to query the number of users logged onto our Citrix server, and preferably be able to get the response from a DOS command.  Background is, I have a script that's logging free RAM and free CPU %, and I'd like to add onto that the number of users logged on at that time.

The OS is Windows Server 2003 SP1, and Citrix Metaframe Server 3.0 with the 2005.04 patch.

thanks
0
RLAInc
Asked:
RLAInc
1 Solution
 
Scott AndersonPrincipal Support EngineerCommented:
There's a Command Line utility for that:  Query {option}  
In your situation, you'd use: query users    Will result in a list of users logged into and using Citrix at the time the command is run and also the state of the sessions (Active, Disconnected, etc...)

Options are:
Farm - Get farm-wide metrics, servers, server loads metrics, etc...
Process - Displays information about processes running on the current server.
Session - Displays information about sessions
User - described above

Good Luck,
Scooter
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now